git clone --recurse-submodules https://github.com/dj0wns/AoE_Openings
Update Pip dependencies
pip install -r requirements.txt
Set up a postgres database and add the login to AoE_Openings/AoE_Openings/settings.py, similar to https://docs.djangoproject.com/en/4.1/ref/databases/#postgresql-notes
Then after that is set up, use the AoE_Openings/init.sh script to init the db.
This should initialize the database for everything the backend needs to run.
Then modify some settings in AoE_Openings/settings.py to enable debug mode.
- set
DEBUG = True - add
127.0.0.1toALLOWED_HOSTS - provide
SECRET_KEYwith some gibberish
Lastly collect static to get all your static files in one place.
python manage.py collectstatic
Then try to run the backend:
python manage.py runservershould start the server on port 8000 and you should be able to connect to it127.0.0.1:8000