Skip to content
Snippets Groups Projects
Commit 48e27824 authored by Christian Pointner's avatar Christian Pointner Committed by GitHub
Browse files

Merge pull request #7 from hermannschwaerzler/master

More changes/additions to README.rst to explain how to get a working development installation.
parents 00314591 cb142bb3
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,11 @@ Setting up the database ...@@ -36,9 +36,11 @@ Setting up the database
By default the project is set up to run on a SQLite database. By default the project is set up to run on a SQLite database.
First edit pv/settings.py and change the line Create a file pv/local_settings.py and add at least the line
SECRET_KEY = ''
such that there is a value for SECRET_KEY. SECRET_KEY = 'secret key'
(obviously replacing "secret key" with a key of you choice).
Then run:: Then run::
...@@ -46,9 +48,20 @@ Then run:: ...@@ -46,9 +48,20 @@ Then run::
(python)$ python manage.py loaddata program/fixtures/*.yaml (python)$ python manage.py loaddata program/fixtures/*.yaml
Adding an admin user
--------------------
In order to create an admin user (which you will need to login to the webinterface after the next step) run::
(python)$ python manage.py createsuperuser
Running a web server Running a web server
-------------------- --------------------
In development you should run:: In development you should run::
(python)$ python manage.py runserver (python)$ python manage.py runserver
After this you can open http://127.0.0.1:8000/admin in your browser and log in with the admin credential you created previously.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment