Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 580 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 580 Bytes

chinese-poetry-djangoshow

chinese-poetry , show in web using Django framework with mysql database

  1. install the requirements pip install -r requirements.txt

  2. 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;

  3. run the server: python manager.py runserver localhost:8001

  4. open the URL: http://localhost:8001/admin

  5. import the Shijing to mysql db Alt text