1[![Build Status](https://secure.travis-ci.org/haiwen/seahub.svg?branch=master)](http://travis-ci.org/haiwen/seahub) 2 3Introduction 4========== 5 6Seahub is the web frontend for Seafile. 7 8Preparation 9========== 10 11* Build and deploy Seafile server from source. See <http://manual.seafile.com/build_seafile/server.html> 12 13Getting it 14========== 15 16You can grab souce code from GitHub. 17 18 $ git clone git://github.com/haiwen/seahub.git 19 20Set up a virtualenv to install dependencies locally: 21 22 $ virtualenv .virtualenv 23 $ . .virtualenv/bin/activate 24 25Install python libraries by pip: 26 27 $ pip install -r requirements.txt 28 29 30Configuration 31========== 32 33Modify `CCNET_CONF_DIR`, `SEAFILE_CENTRAL_CONF_DIR`, `SEAFILE_CONF_DIR` and `PYTHONPATH` in `setenv.sh.template` to fit your path. 34 35`CCNET_CONF_DIR` is the directory, that contains the ccnet socket (and formerly ccnet.conf). 36 37Since 5.0 `SEAFILE_CENTRAL_CONF_DIR` contains most config files. 38 39`SEAFILE_CONF_DIR` is the seafile-data directory (and formerly contained seafile.conf). 40 41Run and Verify 42========== 43 44Run as: 45 46 $ . .virtualenv/bin/activate 47 $ ./run-seahub.sh.template 48 49Then open your browser, and input `http://localhost:8000/`, there should be a Login page. You can create admin account using `seahub-admin.py` script under `tools/` directory. 50 51 52Internationalization (I18n) 53========== 54 55Please refer to https://github.com/haiwen/seafile/wiki/Seahub-Translation 56 57