- Python 3 (<= 3.11, as that version introduces breaking changes for some dependencies)
- MySQL
- Install the virtual environment library: pip install venv
- Create a new virtual environment: python -m venv env
- Activate the virtual environment: .\env\Scripts\activate
- Install the required dependencies: pip install -r requirements/local.txt
- Edit config/settings/common.py to reflect your local MySQL settings.
- Run the database migrations:
- python manage.py makemigrations
- python manage.py migrate
- Create a super user and follow the steps on screen: python manage.py createsuperuser
- Execute the web server with: python manage.py runserver 8080
- Open a new terminal
- Run the following commnand: python manage.py process_tasks
- If the system detects any pending tasks, it will try to run them. The output should be reflected in the tasks window and the web server window