-
Refer this digitalocean tutorial
-
Create a python3 virtual environment
cd backend python3 -m venv checkmate-env source checkmate-env/bin/activate
-
Check that the virtual environment points to correct python path
which python
- Install dependancies
pip install -r requirements.txt
cd Checkmate2019/
python manage.py makemigrations
python manage.py makemigrations Base
python manage.py migrate
python manage.py migrate Base
python3 manage.py loaddata populate.json
python manage.py runserver 0.0.0.0:8000
- If you want to access the admin interface at http://localhost:8000/admin , use the username and password , both as "admin" (without quotes).
- If you want to logout in the midway, you can do so by typing either "admin" or "#" ( both without quotes) in administrator password field.
- Please raise issues if the above procedure does not work for your system.
- Feel free to make necessary changes.
- Please migrate before running the server.