aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-08-12 11:03:13 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-08-12 11:03:13 +0100
commitc5520d477585361bcd319897d00f93aa31a30ffd (patch)
tree2892bbc08ed057a3aade89707c731b5f07775d1b
parent2cbe9ea65ddd9643c61760cca77f06f9e603d53f (diff)
updated README with bootstrapping
-rw-r--r--README.rst14
1 files changed, 14 insertions, 0 deletions
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