From 59ab6504da815aa5f3c91c72c46ba90a9c95a519 Mon Sep 17 00:00:00 2001
From: Nico Vermaas <vermaas@astron.nl>
Date: Tue, 26 Jul 2022 14:05:14 +0200
Subject: [PATCH] add instructions to use local Docker container for Postgres

---
 README.md | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 722039d1..4c7104d2 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ LDV Specification Application. For filling ATDB-LDV with processing tasks for LO
     - https://drive.google.com/file/d/1_j9Fp505pZTxcmzAEdgftdPkoIFrKfAX/view?usp=sharing
   
 ## Collaborate
+
   * create `your branch` from `main`
   * add your functionality
   * test your functionality locally
@@ -20,11 +21,12 @@ LDV Specification Application. For filling ATDB-LDV with processing tasks for LO
   * deploy in production, and test it
   
 ### Local update
-After a collegue has made changes, then locally
-  * git pull
-  * pip install -r requirements\dev.txt
-  * python manage.py migrate --settings=ldvspec.settings.dev  
-  
+After a collegue has made changes, then locally:
+```
+  > git pull
+  > pip install -r requirements\dev.txt
+  > python manage.py migrate --settings=ldvspec.settings.dev  
+```
   
 ## Local Development Environment
 
@@ -79,8 +81,11 @@ DATABASES = {
 }
 ```
 
-   * python manage.py migrate --settings=ldvspec.settings.dev
-   * python manage.py runserver --settings=ldvspec.settings.dev
+```
+   > python manage.py migrate --settings=ldvspec.settings.dev
+   > python manage.py runserver --settings=ldvspec.settings.dev
+   > python manage.py createsuperuser --settings=ldvspec.settings.dev
+```
    
 ## Test Environment
   * https://sdc-dev.astron.nl/ldvspec/
-- 
GitLab