2014-09-06 04:39:08 +00:00
[](http://travis-ci.org/haiwen/seahub)
2012-12-28 03:27:11 +00:00
Introduction
==========
2013-11-04 23:01:02 +00:00
Seahub is the web frontend for Seafile.
2012-12-28 03:27:11 +00:00
Preparation
==========
2016-03-27 22:26:11 +00:00
* Build and deploy Seafile server from source. See < http: // manual . seafile . com / build_seafile / server . html >
2012-12-28 03:27:11 +00:00
Getting it
==========
You can grab souce code from GitHub.
$ git clone git://github.com/haiwen/seahub.git
2016-12-23 11:01:27 +00:00
Set up a virtualenv to install dependencies locally:
$ virtualenv .virtualenv
$ . .virtualenv/bin/activate
2015-04-02 07:57:10 +00:00
Install python libraries by pip:
2016-12-23 11:01:27 +00:00
$ pip install -r requirements.txt
2015-04-02 07:57:10 +00:00
2012-12-28 03:27:11 +00:00
Configuration
==========
2016-03-27 22:26:11 +00:00
Modify `CCNET_CONF_DIR` , `SEAFILE_CENTRAL_CONF_DIR` , `SEAFILE_CONF_DIR` and `PYTHONPATH` in `setenv.sh.template` to fit your path.
2013-01-08 03:52:54 +00:00
2016-03-27 22:26:11 +00:00
`CCNET_CONF_DIR` is the directory, that contains the ccnet socket (and formerly ccnet.conf).
2013-01-08 03:52:54 +00:00
2016-03-27 22:26:11 +00:00
Since 5.0 `SEAFILE_CENTRAL_CONF_DIR` contains most config files.
`SEAFILE_CONF_DIR` is the seafile-data directory (and formerly contained seafile.conf).
2012-12-28 03:27:11 +00:00
Run and Verify
==========
Run as:
2016-12-23 11:01:27 +00:00
$ . .virtualenv/bin/activate
$ ./run-seahub.sh.template
2012-12-28 03:27:11 +00:00
2019-04-04 10:09:47 +00:00
Then 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.
2012-12-28 03:27:11 +00:00
2019-10-19 06:33:11 +00:00
2012-12-28 03:27:11 +00:00
Internationalization (I18n)
==========
2013-10-26 09:14:01 +00:00
Please refer to https://github.com/haiwen/seafile/wiki/Seahub-Translation