Skip to content

Commit

Permalink
💌
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangyan committed Apr 2, 2019
1 parent 7c5e0a5 commit d3e0c85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,23 @@
1)数据库
使用的是mongodb数据库,在settings.py中修改MONGO_URI为你自己的数据库连接地址.
在数据库中建立集合 user

2)python环境
~~~
pip install -r requirements.txt
~~~
3)建立管理员账号

在项目要目录下执行

~~~
python manager.py createsuperuser
~~~

根据提示创建管理员账号

4)启动web服务

~~~
python manager.py runserver
~~~
Expand Down

0 comments on commit d3e0c85

Please sign in to comment.