From c5520d477585361bcd319897d00f93aa31a30ffd Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 12 Aug 2020 11:03:13 +0100 Subject: updated README with bootstrapping --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 7c620f7..36c53fe 100644 --- a/README.rst +++ b/README.rst @@ -34,4 +34,18 @@ Workflow is currently to add Person, User and Stakeholder objects in the Admin. We would also want to restricted Stakeholder users from being able to do anything in the system other than X. +Bootstrap +######### + +..code-block:: bash|python|text + :linenos: + + sudo -u postgres psql postgres + DROP DATABASE ctrack; + CREATE DATABASE ctrack; + \q + ./utility/trunc_and_populate.sh + python manage.py migrate + python manage.py createsuperuser + python manager.py runserver -- cgit v1.2.3