-
Create a Python virtual environment and use Python3.6
-
Put the 'settings.ini' in 'DBproject' directory
-
Install necessary module
$ pip install -r requirements.txt
-
Run server in localhost
$ python manage.py runserver
docker run -p 3306:3306 --name musixcue-mysql -e MYSQL_ROOT_PASSWORD=123 -e MYSQL_DATABASE=musixcue -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
cat << EOF > DBproject/settings.ini
[settings]
NAME=musixcue
USER=root
PASSWORD=123
HOST=127.0.0.1
EOF