Browse Source

Update python version references

pull/160/head
ariannedee 5 years ago
parent
commit
a146633f95
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      README.md

+ 5
- 5
README.md View File

@ -10,7 +10,7 @@ The steps in this document assume that you have access to an OpenShift deploymen
Prerequesites:
* Docker
* Python 3.5
* Python 3.8
To run this project in your development machine, follow these steps:
@ -22,21 +22,21 @@ To run this project in your development machine, follow these steps:
3. Install dependencies:
`pip3.5 install -r requirements.txt`
`pip3.8 install -r requirements.txt`
4. Create an environment settings file by copying `.env.example` to `.env` (`.env` will be ignored by Git)
5. Create a development database:
`python3.5 ./manage.py migrate`
`python3.8 ./manage.py migrate`
6. Load questions from fixtures:
`python3.5 ./manage.py loaddata edivorce/fixtures/Question.json`
`python3.8 ./manage.py loaddata edivorce/fixtures/Question.json`
7. If everything is alright, you should be able to start the Django development server:
`python3.5 ./manage.py runserver 0.0.0.0:8000`
`python3.8 ./manage.py runserver 0.0.0.0:8000`
8. Start the [Weasyprint server](https://hub.docker.com/r/aquavitae/weasyprint/) server on port 5005


Loading…
Cancel
Save