JWT Authentication
Server side AI based chess game. Client _
pip install virtualenv
virtualenv venv
souce venv/bin/activate
pip install requirements.txt
Run in terminal inside virtual environment.
Local Env:
export DJANGO_SETTINGS_MODULE=django_chess.settings.localdev
Production Env:
export DJANGO_SETTINGS_MODULE=django_chess.settings.production
For a more permenant solution edit file /manage.py:
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_chess.settings.localdev")
python manage.py makemigrations
python manage.py migrate
python manage.py runserver