diff options
author | Priit Laes <plaes@plaes.org> | 2010-08-15 21:53:41 +0300 |
---|---|---|
committer | Priit Laes <plaes@plaes.org> | 2010-08-15 21:53:41 +0300 |
commit | 86f929012498587b976f80ac0d0ba01c5dad6462 (patch) | |
tree | 6af36ff302dabdc83ae7f1b63531f5555c288cd0 | |
parent | Updated list of PyPi packages (unverified, because PyPi is down) (diff) | |
download | gsoc2010-grumpy-gsoc-2010.tar.gz gsoc2010-grumpy-gsoc-2010.tar.bz2 gsoc2010-grumpy-gsoc-2010.zip |
Updated READMEgsoc-2010
-rw-r--r-- | README | 30 |
1 files changed, 8 insertions, 22 deletions
@@ -25,31 +25,17 @@ Database configuration is defined by specifying the RFC-1738 style uri:: dialect+driver://username:password@host:port/database - Installation ============ -Please note that database configuration is currently hardcoded to use -PostgreSQL database named 'grumpy' on localhost using 'grumpy:grumpy' as -credentials. This will be fixed in future ;) - -So the first step you need to do, is to give access to user 'grumpy' using -password 'grumpy' to database called 'grumpy' on your local machine. - -To setup the app, you need to populate database with proper schema. So fire -up the python interpreter in the root directory of grumpy project: - - $ python - >>> from grumpy.models import db - >>> db.create_all() - -If no errors were shown, then schema creation was successful :) +Currently the installation of Grumpy is possible on POSIX like systems (BSD +or Linux). -Now in order to populate database with portage data, there's utility inside -'utils' directory called 'grumpy_sync.py'. All you have to do for now is to -give it a path to portage directory as first argument: +When deploying on Apache, open Apache or vhost config and add the following +lines:: - $ python utils/grumpy_sync.py /usr/portage + WSGIScriptAlias /grumpy /path/to/grumpy/grumpy.wsgi -And now go and fetch yourself a glass of cold milk because this initial sync -will take a while. +This tells Apache that Grumpy application is hooked on your webserver at +location `/grumpy`. Of course you will need mod_wsgi and need to reload Apache +in order to pick your changes up. |