chore: update python env instructions
This commit is contained in:
parent
9fead0aebe
commit
8e95109995
1 changed files with 4 additions and 4 deletions
|
|
@ -44,11 +44,11 @@ See it [in action](https://ayco.io/threads).
|
||||||
# create app config from example
|
# create app config from example
|
||||||
$ cp example_config.json config.json
|
$ cp example_config.json config.json
|
||||||
|
|
||||||
# create python environment:
|
# create python environment. I prefer conda
|
||||||
$ python3 -m venv .venv
|
$ conda create -n threads python=3.12
|
||||||
|
|
||||||
# activate python env:
|
# activate python env:
|
||||||
$ . .venv/bin/activate
|
$ conda activate threads
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
(.venv)$ python -m pip install -r requirements.txt
|
(.venv)$ python -m pip install -r requirements.txt
|
||||||
|
|
@ -69,7 +69,7 @@ See it [in action](https://ayco.io/threads).
|
||||||
|
|
||||||
4. After development session, deactivate the python env
|
4. After development session, deactivate the python env
|
||||||
```bash
|
```bash
|
||||||
(.venv)$ deactivate
|
(.venv)$ conda deactivate
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue