Install requirements
pip install alembic
pip install -r requirements.txt
Migrations alembic:
cd server/
alembic upgrade head
Reverse migration:
alembic downgrade -1
```init – prepares the project to work with alembic
upgrade – upgrade the database to a later version
downgrade – revert to a previous version
revision – creates a new revision file
Start Server
cd server
python osi_server.py
Start Client Two client, where client_adm.py is admin client, client_vm.py is just client virtual machine
python client/client_adm.py
python client/client_vm.py
For a client, enter help in terminal
-
PostgreSQL
-
SqlAlchemy 2.0
- 🕳 Pydantic 2.5.1
- ⚗ Alembic