| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Currently supports the following systems:
You only to excute:
bash <(curl -s https://raw.github.com/douban/code/master/scripts/install_code.sh)
Notes: The install script in code/scripts subdirectory, for example ubuntu/debian, You can see code/scripts/ubuntu.sh
# import vilya/databases/schema.sql to database `valentine` $ mysql -uroot -e 'create database valentine;' $ mysql -uroot -D valentine < vilya/databases/schema.sql
memcached # default port
customize code config
# after clone code repo you can change the default config by:
$ cd {CODE_REPO}
$ cp vilya/local_config.py.tmpl vilya/local_config.py
# overwrite configs defined in vilya/config.py.
$ vim vilya/local_config.py
git clone https://github.com/douban/code.git cd code mysql -uroot -e 'create database valentine;' mysql -uroot -D valentine < vilya/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 -w 2 -b 127.0.0.1:8000 app:app # web & git http daemon
CODE is under Revised BSD License. See the LICENSE file for the full license text.
| Back | FazBrowse Home | New Git URL |