- Python 3
- PiP
Run either setup.bat
or setup.sh
to setup environment and database. The scripts create a virtual environment with
the name venv
, which must be activated manually before the server is started. Both scripts make the assumption python
is Python 3.
python -m venv venv_name
venv_name\Scripts\activate.bat
or
source venv_name/bin/activate
pip install -r requirements.txt
python manage.py makemigrations dondapp
python manage.py makemigrations
python manage.py
python populate_script.py
Ensure your virtual environment is activated, then
python manage.py runserver
Then the server can be accessed at http://127.0.0.1:8080