From ba140e6d9419125a948bba286fa985f23d6b963c Mon Sep 17 00:00:00 2001
From: ingo <ingo.leindecker@fro.at>
Date: Sat, 10 Aug 2019 13:24:59 +0200
Subject: [PATCH] Fixed readme.

---
 README.rst | 43 ++++++++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 19 deletions(-)

diff --git a/README.rst b/README.rst
index 7dc2328d..b463b08c 100644
--- a/README.rst
+++ b/README.rst
@@ -44,7 +44,7 @@ Change into the base directory of this software and install the project dependen
 
     (python)$ pip3 install -r requirements.txt
 
-Setting up the database
+Setting up the configuration
 -----------------------
 
 By default the project is set up to run on a SQLite database.
@@ -55,15 +55,6 @@ Create a file pv/local_settings.py and add at least the following line::
 
 (obviously replacing "secret key" with a key of your choice).
 
-Then run::
-
-    (python)$ python manage.py migrate
-    (python)$ python manage.py loaddata program/fixtures/*.yaml
-
-Open pv/local_settings.py again and add the line::
-
-    USE_TZ = False
-
 
 Setting up PostgreSQL
 ----------------
@@ -72,16 +63,16 @@ We recommend using PostgreSQL in order to be able to use the collation utf8mb64_
 
 To use PostgreSQL, add the following to your local_settings.py (before migrating) and add your credentials::
 
-DATABASES = {
-    'default': {
-        'ENGINE': 'django.db.backends.postgresql',
-        'NAME': '',
-        'USER': '',
-        'PASSWORD': '',
-        'HOST': 'localhost',
-        'PORT': '5432'
+    DATABASES = {
+        'default': {
+            'ENGINE': 'django.db.backends.postgresql',
+            'NAME': '',
+            'USER': '',
+            'PASSWORD': '',
+            'HOST': 'localhost',
+            'PORT': '5432'
+        }
     }
-}
 
 
 Setting up MySQL
@@ -111,6 +102,20 @@ Create a file pv/mysql.cnf and give your MySQL credentials::
     default-character-set = utf8
 
 
+Setting up the database
+----------------
+
+Then run::
+
+    (python)$ python manage.py migrate
+    (python)$ python manage.py loaddata program/fixtures/*.yaml
+
+Open pv/local_settings.py again and add the line::
+
+    USE_TZ = False
+
+
+
 Running a web server
 --------------------
 
-- 
GitLab