aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar ImportErr <[email protected]>2019-01-04 11:57:24 +0000
committerGravatar Johannes Christ <[email protected]>2019-04-11 20:21:05 +0200
commit44b453c35983ab74de2369dab32f8e23bd6177ce (patch)
treea8923a8e3187bc3dc662ad5d3bb9f5fa168a176b /docs
parentMake the pipeline green as grass. (diff)
Added info for running the server
Diffstat (limited to 'docs')
-rw-r--r--docs/setup.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/setup.md b/docs/setup.md
index d6e5a7bf..f92a24df 100644
--- a/docs/setup.md
+++ b/docs/setup.md
@@ -67,5 +67,7 @@ pip install -e .[lint,test]
to install base dependencies along with lint and test dependencies.
You can either use `python manage.py` directly, or you can use the console
-entrypoint for it, `psmgr`. For example, to run tests, you could use either
-`python manage.py test` or `psmgr test`. Happy hacking!
+entrypoint for it, `psmgr`. For example, to run tests, you could use either `python manage.py test` or `psmgr test`.
+To run the server, run `DEBUG=1 python manage.py runserver`. If it gives you an error saying
+`django.core.exceptions.ImproperlyConfigured: Set the DATABASE_URL environment variable` please make sure the server your postgres database is on is running
+and run the command `$(export cat .env) in your terminal`. Happy hacking!