update to python3.12
This commit is contained in:
@@ -31,13 +31,13 @@ For depedencies and virtual environment, we use [poetry](https://python-poetry.o
|
||||
First install [python](https://wiki.python.org/moin/BeginnersGuide/Download). Then install poetry:
|
||||
|
||||
```bash
|
||||
python3 -m pip install poetry==1.3.1
|
||||
python -m pip install poetry==2.0.1
|
||||
```
|
||||
|
||||
The easiest integration with VSCode is to have poetry install virtual environment in project folder, configured with CMD
|
||||
|
||||
```bash
|
||||
python3 -m poetry config virtualenvs.in-project true
|
||||
python -m poetry config virtualenvs.in-project true
|
||||
```
|
||||
|
||||
### Node
|
||||
@@ -65,7 +65,7 @@ docker run --name sik.web.db -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postg
|
||||
Activate virtual environment in shell
|
||||
|
||||
```bash
|
||||
python3 -m poetry shell
|
||||
eval $(python -m poetry env activate)
|
||||
```
|
||||
|
||||
Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user