https://github.com/yetone/bruce
http://blog.yetone.net 的源代码。
https://github.com/yetone/bruce
Last synced: 8 months ago
JSON representation
http://blog.yetone.net 的源代码。
- Host: GitHub
- URL: https://github.com/yetone/bruce
- Owner: yetone
- Created: 2012-10-18T08:28:14.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-15T05:25:04.000Z (about 12 years ago)
- Last Synced: 2025-10-13T21:34:00.105Z (8 months ago)
- Language: Python
- Homepage: http://blog.yetone.net
- Size: 355 KB
- Stars: 22
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bruce
=====
demo: http://blog.yetone.net
INSTALL
-------
```
git clone https://github.com/yetone/bruce.git bruce
cd bruce
cp config.py.sample config.py
virtualenv bruce_env
source bruce_env/bin/activate
pip install -r requirements.txt
```
Configurate
-------
Use your favorite editor edit the `config.py` file
**note** Make sure `_DBNAME` in `config.py` exist in your mysql database.
RUN
-------
```
python app.py # default
python app.py --port=8888 # run app on custom port
```
Other
-------
If your want to use nginx as a reverse proxy, Read [Tornado Documentation](http://www.tornadoweb.org/documentation/overview.html?highlight=nginx#running-tornado-in-production)