Commit d706159a authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

parent 6944eec2
...@@ -31,7 +31,6 @@ postgres-9.1 is ok. We need: ...@@ -31,7 +31,6 @@ postgres-9.1 is ok. We need:
g) CACHE_BACKEND = 'memcached://<server-address>:<port>/ with the correct path. g) CACHE_BACKEND = 'memcached://<server-address>:<port>/ with the correct path.
5) python manage.py syncdb --all (no create super user) 5) python manage.py syncdb --all (no create super user)
6) python manage.py migrate forum --fake 6) python manage.py migrate forum --fake
7) cp -R locale l it
8) python manage.py makemessages -l it 8) python manage.py makemessages -l it
** Note: an example of settings_local.py with right database settings (line 27): http://bazaar.launchpad.net/~ubuntu-it-ask/ubuntu-it-ask/trunk/view/head:/settings_local.py ** Note: an example of settings_local.py with right database settings (line 27): http://bazaar.launchpad.net/~ubuntu-it-ask/ubuntu-it-ask/trunk/view/head:/settings_local.py
...@@ -48,7 +47,7 @@ sudo chmod -R g+w /srv/CHANGE_THIS_PATH/www/osqa/log ...@@ -48,7 +47,7 @@ sudo chmod -R g+w /srv/CHANGE_THIS_PATH/www/osqa/log
Put 00-forum_keyvalue.sql into osqa database: Put 00-forum_keyvalue.sql into osqa database:
1) psql -U ubuntu-it-chiedi ubuntu-it-chiedi -W < forum_keyvalue.sql 1) psql -U ubuntu-it-chiedi ubuntu-it-chiedi -W < forum_keyvalue.sql
2) python /src/CHANGE_THIS_PATH/www/osqa/manage.py syncdb 2) python /srv/CHANGE_THIS_PATH/www/osqa/manage.py syncdb
(if you need a dump of this table, please use: pg_dump ubuntu-it-chiedi --clean -O -t forum_keyvalue -f forum_keyvalue.sql -U ubuntu-it-chiedi -W ) (if you need a dump of this table, please use: pg_dump ubuntu-it-chiedi --clean -O -t forum_keyvalue -f forum_keyvalue.sql -U ubuntu-it-chiedi -W )
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment