The web end of seafile server.
Switch branches/tags
Clone or download
imwhatiam and freeplant update get shared repos api (#2549)
use group_name as owner_name if current repo is a group owner repo
Latest commit a17b057 Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis [travis] Update Aug 10, 2018
.tx [i18n] Update po files May 9, 2015
fabfile New file history (#2359) Sep 12, 2018
frontend hide share with all if need (#2548) Nov 19, 2018
locale [locale] Update .po files Oct 15, 2018
media avatar-tips (#2541) Nov 19, 2018
seahub update get shared repos api (#2549) Nov 20, 2018
sql [sql] Update sql Jun 27, 2018
static Merge branch '6.3' Nov 1, 2018
tests add draft&review test (#2527) Nov 16, 2018
thirdpart [shibboleth] Only apply middleware to certain url Sep 15, 2018
tools Add copyright header Jul 26, 2016
.gitignore update webpack config Sep 12, 2018
.travis.yml Update travis pipeline Oct 15, 2018
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 staticfile storage and clean scripts assets Aug 2, 2018
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
dev-requirements.txt Update dev requirements Aug 24, 2018
i18n.sh Update i18n.sh Nov 14, 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 Fix post office connection and handle invitation error Oct 13, 2018
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 [Django 1.11] Update requirements and tests Apr 18, 2018

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