- Database configuration (check additional configuration options below)
Server installation Instructions
- clone the project
- change to project directory
- create virtual environment and active virtual environment
$ virtualenv venv
$ source venv/bin/activate
- Install project dependencies
$ pip install -r requirements/requirements.txt.production
- Run migration
$ python manage.py migrate
- collect static files
$ python manage.py collectstatic
- Start development server
$ python manage.py runserver
- create .env file in project root directory and put required value
SECRET_KEY=''
DEBUG=False
DEFAULT_DATABASE=''
MYSQL_DB_NAME=''
MYSQL_DB_USER=''
MYSQL_DB_PASSWORD=''
MYSQL_DB_HOST=''
MYSQL_DB_PORT=''