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