- Python (3.6.2)
- Django (1.11.18)
- Mysql (5.6)
- Redis (4.0)
pip3 install virtualenv
virtualenv env
source env/bin/activate
pip install -r requirements.txt
CREATE database luffy_play DEFAULT charset utf8 COLLATE utf8_general_ci;
python manage.py makemigrations
python manage.py migrate
# 创建超级用户
python manage.py createsuperuser
# 启动
python manage.py runserver 0.0.0.0:8000
为你准备了脱敏数据 `init.sql`
$ mysql -uUSERNAME -pPASSWORD luffy_play < SQLPATH