chinese-poetry , show in web using Django framework with mysql database
-
install the requirements pip install -r requirements.txt
-
create database a) under mysql mode: create database chinese_poetry CHARACTER SET utf8 COLLATE utf8_general_ci; b) python manager.py makemigrations; c) python manager.py migrate;
-
run the server: python manager.py runserver localhost:8001
-
open the URL: http://localhost:8001/admin