6 Commits b786047025 ... 524549235a

Auteur SHA1 Message Date
  jocelyn 524549235a Merge branch 'ed-fix-readme' of milouse/transparency into master il y a 6 ans
  Étienne Deparis b36405eeb5 Remind user to activate the previously created virtualenv il y a 6 ans
  Étienne Deparis 9ac86efc66 Inform the naive user about the DEBUG parameter il y a 6 ans
  Étienne Deparis ae3e36be8b Fix a typo, which prevent the chosen organization name to be displayed il y a 6 ans
  Étienne Deparis aac960caea Explain how to create the first user account il y a 6 ans
  Étienne Deparis c1ef58cde1 Don't depend on virtualenvwrapper il y a 6 ans
1 fichiers modifiés avec 12 ajouts et 4 suppressions
  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