- [Docker+Docker Compose](https://www.docker.com/ + https://docs.docker.com/compose/install/).
- Git
- Python 3.9
- pip install --upgrade pip
Later you will need:
You need add keys here instruction how to generate
git clone git@gitlab.com:mongodb.tech/app.git
cd app
python3.9 -m venv venv
source ./venv/bin/activate
python --version
Python 3.9.12
docker-compose up -d
Main thing is monga and provisioning
pip install poetry
cd backend\app\app
poetry install
python main.py
In enviroment you need to define HOST = http://localhost:8001/api/v1 and pickup username and password from .env file
./test.sh
This run all linters and pytest
For Intel cpu
docker-compose -f docker-compose.dev.yml --env-file .env up --build -d
For Arm64 cpu
docker-compose -f docker-compose.dev64.yml --env-file .env up --build -d
After up and running all containers, exec in backend container and run
python3.9 app/initial_data.py