https://github.com/yetone/collipa
The source code of Collipa
https://github.com/yetone/collipa
forum sns tornado
Last synced: 3 months ago
JSON representation
The source code of Collipa
- Host: GitHub
- URL: https://github.com/yetone/collipa
- Owner: yetone
- Created: 2013-06-29T03:33:53.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T03:28:20.000Z (almost 8 years ago)
- Last Synced: 2025-03-07T21:41:07.418Z (7 months ago)
- Topics: forum, sns, tornado
- Language: JavaScript
- Homepage: http://zone.drops.wiki/
- Size: 5.08 MB
- Stars: 218
- Watchers: 18
- Forks: 54
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
collipa
=======## 简介
The source of
## 配置
```
mv config.back.py config.py
```
修改 collipa/config.py 文件:### 数据库
- _DBUSER = "username" # 数据库用户名
- _DBPASS = "password" # 数据库密码
- _DBHOST = "localhost" # 数据库地址
- _DBNAME = "collipa" # 数据库名称### 邮箱
- _SMTPUSER = 'example@gmail.com' # 邮箱用户名
- _SMTPPASS = 'password' # 邮箱密码
- _SMTPHOST = 'smtp.gmail.com' # 邮箱地址
- _SMTPPORT = '587' # 邮箱端口### secret
- cookie_secret = 'cookiesecret' # cookie secret 随机字符
- password_secret = 'passwordsecret' # password secret 随机字符## 安装必要扩展包
### 安装 MySQL
```
sudo apt-get install mysql-server
```### 安装 memcached
```
sudo apt-get install memcached
```### 安装 redis
```
sudo apt-get install redis-server
```### 安装其他
```
sudo pip install -r requirements.txt
```## 初始化数据库
```
python setup.py --init
```## 运行
```
python app.py
```## License
Released under the WTFPL license:
http://www.wtfpl.net