The web end of seafile server.
JavaScript Python HTML Java CSS PLSQL Other
Switch branches/tags
Latest commit bb9d963 Oct 13, 2017 @xiez xiez Merge branch '6.1' into 6.2
Permalink
Failed to load latest commit information.
.tx [i18n] Update po files May 9, 2015
fabfile Update translation and refactor Sep 18, 2017
locale [locale] Update po files Sep 25, 2017
media [seahub.css] small fix Sep 26, 2017
seahub Merge branch '6.1' into 6.2 Oct 13, 2017
sql add login_success field to sql script Sep 25, 2017
static [devices] fix Oct 10, 2017
tests client create enc library with disable enable_enc_library test Sep 27, 2017
thirdpart [auth, api, shibboleth] Use primary id in login Aug 26, 2017
tools Add copyright header Jul 26, 2016
.gitignore Add instructions for how to set up in a virtualenv Dec 23, 2016
.travis.yml Merge branch '6.1' Aug 23, 2017
CONTRIBUTORS remove duplicate name in CONTRIBUTORS file Aug 12, 2013
HACKING Update registration process Mar 13, 2012
LICENSE-thirdparty.txt Improve license declaration Jul 30, 2016
LICENSE.txt Improve license declaration Jul 30, 2016
Makefile Update makefile Sep 12, 2017
README.markdown Add instructions for how to set up in a virtualenv Dec 23, 2016
code-check.sh [api] fixed rpc arguments in seahub.api2.views Apr 1, 2014
i18n.sh Update i18n.sh Sep 12, 2017
manage.py Change code structure to fit django 1.5 May 2, 2013
pylintrc Update code check script Mar 4, 2014
pylintrc.template Update code check script Mar 4, 2014
pytest.ini Disable cache when testing Jan 21, 2016
requirements.txt Update Django to 1.8.18 Apr 17, 2017
run-seahub.sh.template [Mac] run seahub in mac Jul 7, 2012
send_user_notifications.sh.template Rewrite user notificatione sending Jan 21, 2013
setenv.sh.template Improved README Jan 8, 2013
test-requirements.txt Fix tests Dec 5, 2015

README.markdown

Build Status

Introduction

Seahub is the web frontend for Seafile.

Preparation

Getting it

You can grab souce code from GitHub.

$ git clone git://github.com/haiwen/seahub.git

Set up a virtualenv to install dependencies locally:

$ virtualenv .virtualenv
$ . .virtualenv/bin/activate

Install python libraries by pip:

$ pip install -r requirements.txt

Configuration

Modify CCNET_CONF_DIR, SEAFILE_CENTRAL_CONF_DIR, SEAFILE_CONF_DIR and PYTHONPATH in setenv.sh.template to fit your path.

CCNET_CONF_DIR is the directory, that contains the ccnet socket (and formerly ccnet.conf).

Since 5.0 SEAFILE_CENTRAL_CONF_DIR contains most config files.

SEAFILE_CONF_DIR is the seafile-data directory (and formerly contained seafile.conf).

Run and Verify

Run as:

$ . .virtualenv/bin/activate
$ ./run-seahub.sh.template

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.

Internationalization (I18n)

Please refer to https://github.com/haiwen/seafile/wiki/Seahub-Translation