diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2014-02-07 13:51:23 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2014-02-07 13:51:23 (GMT) |
commit | 995873b6d2cf871780cb7f026cb183620f49e4cf (patch) | |
tree | 7c5137b3b8a50ccf71c04d5edafa11d8fde900c4 | |
parent | 30f04220ebceb54279ad81c39c4c4cfffc5d96a4 (diff) |
update README install instructions
-rw-r--r-- | README.rst | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -10,30 +10,33 @@ To get setup you must have the following installed: * Python 2.7 * virtualenv 1.11 + Setting up the environment -------------------------- Create a virtual environment where the dependencies will live:: - $ virtualenv --no-site-packages helsinki - $ source helsinki/bin/activate - (helsinki)$ + $ virtualenv -p python2.7 python + $ source python/bin/activate + (python)$ Install the project dependencies:: - (helsinki)$ pip install -r requirements.txt + (python)$ pip install -r requirements.txt + Setting up the database ----------------------- By default the project is set up to run on a SQLite database. You can run:: - (helsinki)$ python manage.py syncdb - (helsinki)$ python manage.py loaddata program/fixtures/*.yaml + (python)$ python manage.py syncdb + (python)$ python manage.py loaddata program/fixtures/*.yaml + Running a web server -------------------- In development you should run:: - (helsinki)$ python manage.py runserver + (python)$ python manage.py runserver |