diff options
author | Ernesto Rico Schmidt <e.rico.schmidt@gmail.com> | 2017-06-18 15:09:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 15:09:17 (GMT) |
commit | 6cf663a7937a2544fab7bcb095353bced5096f80 (patch) | |
tree | cebaa5dd14f156a83d32def67cf38cd3793ec097 /README.rst | |
parent | e0fe86232a5d2cead375aaf5c133ed7809a18323 (diff) | |
parent | fba38afc37acb2ae88e97ffc891f5e854b36b9b7 (diff) |
Merge pull request #6 from hermannschwaerzler/master
updated README
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -7,9 +7,15 @@ Installation To get setup you must have the following installed: - * Python 2.7 + * MySQL-Client Development libraries + * JPEG library development files + * Python 2.7 including Development files * virtualenv 1.11 +In Debian or Ubuntu (or derivatives) you should be able to achieve this with this command: + + $ sudo apt-get install libmysqlclient-dev libjpeg-dev python2.7-dev virtualenv + Setting up the environment -------------------------- @@ -20,7 +26,7 @@ Create a virtual environment where the dependencies will live:: $ source python/bin/activate (python)$ -Install the project dependencies:: +Change into the base directory of this software and install the project dependencies:: (python)$ pip install -r requirements.txt @@ -28,9 +34,15 @@ Install the project dependencies:: Setting up the database ----------------------- -By default the project is set up to run on a SQLite database. You can run:: +By default the project is set up to run on a SQLite database. + +First edit pv/settings.py and change the line + SECRET_KEY = '' +such that there is a value for SECRET_KEY. + +Then run:: - (python)$ python manage.py syncdb + (python)$ python manage.py migrate (python)$ python manage.py loaddata program/fixtures/*.yaml |