- Website: http://douban-code.github.io
- mysql # default port
# import code/databases/schema.sql to database `valentine`
$ mysql -uroot -e 'create database valentine;'
$ mysql -uroot -D valentine < code/databases/schema.sql
- memcached # default port
git clone https://github.com/douban-code/code.git
cd code
mysql -uroot -e 'create database valentine;'
mysql -uroot -D valentine < code/databases/schema.sql
virtualenv venv
. venv/bin/activate
pip install cython # should install first
pip install -U setuptools # python-libmemcached require updated setuptools
pip install -r requirements.txt
gunicorn -b 127.0.0.1:8000 app:app # web & git http daemon
- single http daemon
gunicorn -b 127.0.0.1:8001 smart_httpd:app
# git http daemon
See the LICENSE file for the full license text.