Browse Source

Merge branch 'ed-fix-readme' of milouse/transparency into master

jocelyn 6 years ago
parent
commit
524549235a
1 changed files with 12 additions and 4 deletions
  1. 12 4
      README.md

+ 12 - 4
README.md

@@ -9,8 +9,11 @@ Install it
 ----------
 Be sure to use python3.
 
-    sudo apt-get install python virtualenvwrapper
-    mkvirtualenv transparency
+    sudo apt-get install python virtualenv
+    virtualenv transparency_venv
+    git clone https://code.ffdn.org/jocelyn/transparency
+    cd transparency
+    source ../transparency_venv/bin/activate
     pip install -r requirements.txt
 
 Generate a secret key:
@@ -19,18 +22,23 @@ Generate a secret key:
 
 Set your organization name :
 
-    echo 'ORGANISATION_NAME="ACME Charity"' >> transparency/local_settings.py
+    echo 'ORGANIZATION_NAME="ACME Charity"' >> transparency/local_settings.py
 
 Create database:
 
     ./manage.py migrate
 
+Create administrator account:
+
+    ./manage.py createsuperuser
+
 Run it
 ------
 
 Run development server
 
-    workon transparency
+    source ../transparency_venv/bin/activate # if it is not already done
+    echo 'DEBUG=True' >> transparency/local_settings.py
     ./manage.py runserver
 
 Use it