-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
964 changed files
with
168,773 additions
and
843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# 部署方法 | ||
|
||
1. pip install -r requirements.txt 安装依赖的包。 | ||
2. 配置数据库(步骤略) | ||
3. python manage.py syncdb | ||
4. python manage.py migrate | ||
5. python manage.py collectstatic | ||
6. 配置 nginx + gunicorn (步骤略) | ||
7. 安装douban-python 与 gdata | ||
|
||
## 补充说明 | ||
|
||
1. 本项目的 css 文件全部由 sass 源文件编译生成,如需修改,建议修改 sass 文件后重新编译。 | ||
2. Guardfile 文件主要用于 guard-livereload(开发期间使用),部署时不需要用到这个文件。 | ||
3. 请保证当前目录以及 uploads/ 目录可写,因为文件上传时会上传到 uploads/。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This file is placed here by pip to indicate the source was put | ||
here by pip. | ||
|
||
Once this package is successfully installed this source code will be | ||
deleted (unless you remove this file). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.