Skip to content

DdragonEver/jxnugo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

搭建本地开发环境

pip install -r requirements/develop.txt
cp config/config_sample.py config/config.py
vim config/config.py  # 编辑config/config.py or 找其他同学要一份复制
python manage.py runserver

天机不可泄露......

数据伪造:

#数据库更新后,先删除旧数据表,然后在shell里执行
db.create_all()
User.generate_fake(100)  #伪造用户
Post.generate_fake(100)  #伪造帖子

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.3%
  • Python 30.4%
  • CSS 13.0%
  • JavaScript 4.8%
  • Mako 0.5%