The source of http://collipa.com
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' # 邮箱端口
- cookie_secret = 'cookiesecret' # cookie secret 随机字符
- password_secret = 'passwordsecret' # password secret 随机字符
sudo apt-get install mysql-server
sudo apt-get install memcached
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: