From 44b453c35983ab74de2369dab32f8e23bd6177ce Mon Sep 17 00:00:00 2001 From: ImportErr Date: Fri, 4 Jan 2019 11:57:24 +0000 Subject: Added info for running the server --- docs/setup.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/setup.md') 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! -- cgit v1.2.3