- install Python3
- create virtual env
python3 -m venv /path/to/new/virtual/environment
- activate venv
source venv/bin/activate
- install dependencies
pip install -r requirements.txt
- in folder planner create
settings_local.py
file
content settings_local.py
SECRET_KEY = ''
DEBUG = True
ALLOWED_HOSTS = ['*']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'your_db_name',
'USER': 'db_user',
'PASSWORD': 'password',
'OPTIONS': {'charset': 'utf8mb4'},
}
}