-
Notifications
You must be signed in to change notification settings - Fork 1
/
installation.html
31 lines (31 loc) · 1.29 KB
/
installation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<HTML>
<head>
<TITLE>
Installing Cloudboard
</TITLE>
</head>
<body>
<H1>Installing Cloudboard on Ubuntu using Apache and mod-wsgi</H1>
<ol>
<li> Install sqlite3, mod-wsgi and django on the server
<ul>
<li> sudo apt-get update
<li> sudo apt-get install sqlite3
<li> sudo apt-get install libapache2-mod-wsgi
<li> sudo apt-get install python-django
</ul>
<li> Create a directory for the cloudboard project. For the rest of this document, I'm assuming this is /usr/local/django/cloudboard
<li> Copy the cloudboard, template, and apache directories to /usr/local/django/cloudboard
<li> In /usr/local/django/cloudboard/apache/django.wsgi, set CLOUDBOARD_ROOT='/usr/local/django/cloudboard'
<li> In /usr/local/django/cloudboard/cloudboard/settings.py, set PROJECT_ROOT='/usr/local/django/cloudboard/'
<li> In /usr/local/django/cloudboard/templates/cloudboard/base.html, change 127.0.0.1:8000 to the address of the webserver (when we fix this, we will take out this instruction
<li><i>PROJECT_ROOT requires a trailing /, CLOUDBOARD_ROOT requires that there be no trailing /</i>
<li>In /etc/apache2/sites-available/default, add the lines:
<ul>
<li>WSGIScriptAlias / /usr/local/django/cloudboard/apache/django.wsgi
<li>Alias /media /var/www/media/
</ul>
<li>restart apache and look at the root web page
</ol>
</body>
</html>