|
@@ -10,8 +10,11 @@ Run it
|
|
|
|
|
|
### First time
|
|
### First time
|
|
|
|
|
|
- sudo apt-get install python virtualenvwrapper
|
|
|
|
- mkvirtualenv transparency
|
|
|
|
|
|
+ sudo apt install python3-virtualenv
|
|
|
|
+
|
|
|
|
+ virtualenv -p $(which python3) venv
|
|
|
|
+
|
|
|
|
+ source venv/bin/activate
|
|
pip install -r requirements/base.txt
|
|
pip install -r requirements/base.txt
|
|
|
|
|
|
Generate a secret key:
|
|
Generate a secret key:
|
|
@@ -28,7 +31,7 @@ Run dev server
|
|
|
|
|
|
### Later
|
|
### Later
|
|
|
|
|
|
- workon transparency
|
|
|
|
|
|
+ source venv/bin/activate
|
|
./manage.py runserver
|
|
./manage.py runserver
|
|
|
|
|
|
|
|
|
|
@@ -43,6 +46,8 @@ Use it
|
|
Building documentation
|
|
Building documentation
|
|
----------------------
|
|
----------------------
|
|
|
|
|
|
|
|
+Make sure to be inside the virtualenv (`source venv/bin/activate`).
|
|
|
|
+
|
|
Doc is using mkdocs, located in *docs/* ; you can build it yourself.
|
|
Doc is using mkdocs, located in *docs/* ; you can build it yourself.
|
|
|
|
|
|
Install doc dependencies :
|
|
Install doc dependencies :
|