- Clone a repository using the <git clone https://github.com/Alekseikovtun/DAS.git -b stage> command
- Create a virtual environment
- Use the <pip install -r .\requirements.txt> command
- Create a <.env> file in the root of the project
- Write it to a file .env data, as in the <env_template> file
- In DB_OUT_PORT write the port that Docker will accept (example: 5001)
- In DB_USER write the name of the user who is the administrator (example: postgres)
- In DB_PASSWORD write the password with which the administrator will connect to the database (example: postgres)
- In DB_DATA write <./artifacts/db>
- In DB_NAME write the DB name
- Install Docker Desktop
- In alembic.ini.template delete the '.template' part
- Open the alemib.ini file and fill in the line 58 sqlalchemy.url, replacing the capslock with the values from the .env file
- Run the command <docker compose -f (the path to the file docker-compose.yml) up> via PowerShell or terminal
- Run the command <alembic upgrade heads> via terminal