1. blogdb.sql 数据据文件,mysql中source该文件
2. 在settings.py文件中更改数据库的用户名及密码
3. 在settings.py文件中添加ALLOWED_HOSTS
4. python manage.py runserver 0.0.0.0:80 运行
tedchengy / blog Goto Github PK
View Code? Open in Web Editor NEWThis project forked from anhuaxiang/blog
个人博客