root / docs / source / adminguide.rst @ daf7d3a6
History | View | Annotate | Download (1.1 kB)
1 |
Administrator Guide |
---|---|
2 |
=================== |
3 |
|
4 |
Simple Setup |
5 |
------------ |
6 |
|
7 |
Assuming a clean debian squeeze (stable) installation, use the following steps to run the software. |
8 |
|
9 |
Install packages:: |
10 |
|
11 |
apt-get install git python-django python-django-south python-setuptools python-sphinx python-httplib2 |
12 |
apt-get install apache2 libapache2-mod-wsgi |
13 |
|
14 |
Get the source:: |
15 |
|
16 |
cd / |
17 |
git clone https://code.grnet.gr/git/astakos |
18 |
|
19 |
Setup the files:: |
20 |
|
21 |
cd /astakos/astakos |
22 |
python manage.py syncdb (At this point you will prompt to create a superuser) |
23 |
python manage.py migrate im 0001 --fake |
24 |
python manage.py migrate im |
25 |
python loaddata im/fixtures/admin_user.json (Load additional information for the newly created superuser) |
26 |
edit im/fixtures/site.json (Change the ``domain`` and ``name`` values according to your site information) |
27 |
python loaddata im/fixtures/site.json |
28 |
cd /astakos |
29 |
python setup.py build_sphinx |
30 |
python manage runserver |
31 |
|
32 |
It is advised that you create a ``settings.local`` file to place any configuration overrides (at least change ``SECRET_KEY``). |
33 |
|
34 |
Twitter Setup |
35 |
------------- |