- Setup PostgreSQL database
- Setup Redis
- Copy the
.env.examplefile to.envand fill in the required values. - Create a Python virtual environment:
python3 -m venv env - Activate the environment:
source env/bin/activate - Install dependencies:
pip install -r requirements.txt - Make sure the service starter has execute permissions:
Note: After installing any new dependencies, update the requirements.txt file: pip freeze > requirements.txt
chmod +x service_starter.pydev
python run_with_restart.pyprod
python main.py