Skip to content

Commit 6796238

Browse files
committed
Modified installation steps for running the examples locally, to prevent potential missing packages
1 parent 8c45cce commit 6796238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,17 @@ To run the Flask or Django container:
215215

216216
Both example applications utilise the env variables described in [Configuration](#configuration), make sure they are accessible.
217217

218-
* Installing dependencies: `pip install -e .[examples]` (If you're using `zsh` you need to escape the square brackets: `pip install -e .\[examples\]`)
219-
220218
#### Flask
221219

222220
1. Change directories to the Flask project: `cd examples/yoti_example_flask`
221+
1. Install dependencies: `pip install -r requirements.txt`
223222
1. Run `python app.py`
224223
1. Navigate to https:////localhost:5000
225224

226225
#### Django
227226

228227
1. Change directories to the Django project: `cd examples/yoti_example_django`
228+
1. Install dependencies: `pip install -r requirements.txt`
229229
1. Apply migrations before the first start by running: `python manage.py migrate`
230230
1. Run: `python manage.py runsslserver 0.0.0.0:5000`
231231
1. Navigate to https://localhost:5000

0 commit comments

Comments
 (0)