This is recommended but not necessary:
# Create a virtual python environment
# Make suer you have installed virtualenv correctly
python -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# you can check if it works correctly by running:
where python
# If it turns out to be ${pwd}/.venv/bin/python
# that means you activate the enviornment successfully!
# deactivate the virtual environment by running:
deactivate
pip install -r backend/requirements.txt
touch .env
# COPY PAST from .env.example file
# Ask for some variables
pre-commit install # first use
pre-commit install --overwrite
docker compose build
docker compose up -d
We use pre-commit library to check each commit, please make sure your pre-commit can work after environment setup
You can test if the pre-commit works correctly by running pre-commit command manually:
pre-commit run