292
by Francois Marier
Use the right name for README.Debian |
1 |
libravatar-www for Debian |
2 |
--------------------------
|
|
3 |
||
4 |
Once you have installed this package, you need to create a database user |
|
5 |
and a database for it. |
|
6 |
||
7 |
For example, on Postgres, you'd do something like: |
|
8 |
||
9 |
sudo -u postgres createuser --no-superuser --no-createdb --no-createrole --pwprompt djangouser |
|
10 |
sudo -u postgres createdb -O djangouser -E utf8 libravatar |
|
11 |
||
12 |
Then you will need to initialise the database: |
|
13 |
||
14 |
cd /usr/share/libravatar/libravatar |
|
938.1.6
by Francois Marier
Move from syncdb to migrate |
15 |
python manage.py migrate |
292
by Francois Marier
Use the right name for README.Debian |
16 |
|
17 |
and finally, restart Apache: |
|
18 |
||
19 |
sudo apache2ctl restart |
|
20 |
||
21 |
-- Francois Marier <francois@debian.org> Sat, 15 Jan 2011 15:58:32 +1300 |