diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -8,21 +8,21 @@ Installation | |||
8 | 8 | ||
9 | Install dependencies:: | 9 | Install dependencies:: |
10 | 10 | ||
11 | $ python bootstrap.py --distribute | 11 | $ python setup.py install |
12 | $ ./bin/buildout | ||
13 | 12 | ||
14 | Initial configuration | 13 | Initial configuration |
15 | --------------------- | 14 | --------------------- |
16 | :: | 15 | :: |
17 | 16 | ||
18 | $ $EDITOR chishop/settings.py | 17 | $ $EDITOR chishop/settings.py |
19 | $ ./bin/django syncdb | 18 | $ export DJANGO_SETTINGS_FILE="chishop.settings" |
19 | $ django-admin.py syncdb | ||
20 | 20 | ||
21 | Run the PyPI server | 21 | Run the PyPI server |
22 | ------------------- | 22 | ------------------- |
23 | :: | 23 | :: |
24 | 24 | ||
25 | $ ./bin/django runserver | 25 | $ django-admin.py runserver |
26 | 26 | ||
27 | Please note that ``chishop/media/dists`` has to be writable by the | 27 | Please note that ``chishop/media/dists`` has to be writable by the |
28 | user the web-server is running as. | 28 | user the web-server is running as. |
@@ -31,8 +31,7 @@ In production | |||
31 | ------------- | 31 | ------------- |
32 | 32 | ||
33 | You may want to copy the file ``chishop/production_example.py`` and modify | 33 | You may want to copy the file ``chishop/production_example.py`` and modify |
34 | for use as your production settings; you will also need to modify | 34 | for use as your production settings. |
35 | ``bin/django.wsgi`` to refer to your production settings. | ||
36 | 35 | ||
37 | Using Setuptools | 36 | Using Setuptools |
38 | ================ | 37 | ================ |