Pre-requisite: Must be on Python version 3.8+, and python virtualenv and pip3
python3 -m pip install --user --upgrade pip
python3 -m pip install --user virtualenv
python -m virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
Import the .env file provided under the intera-api/ directory
gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 4 --worker-connections=1000 --reload -b 0.0.0.0:5000 app:app
After installing a new package, update the requirements.txt file with the content from the command pip3 freeze > requirements.txt
- Move
docker-compose.yamlinto project root directory i.e aboveintera-api/ - Create a copy of
.envfile and name it.env.dev - Run
docker-compose build - Run
docker-compose up -d
Run Debug docker-compose logs -f