1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 23:38:37 +00:00
Mirror
Go to file
Daniel Pan 990e8b17d1
Merge pull request #5204 from haiwen/repo-share-info
fix get org repo owner bug
2022-07-04 12:03:55 +08:00
.github/workflows fetch master branch in seafile-test-deploy 2022-06-27 11:45:34 +08:00
.tx
bin
fabfile remove *.mo files 2021-09-23 18:24:34 +08:00
frontend update seafile-editor version to fix draft 2022-06-22 14:35:34 +08:00
locale update translation 2022-06-22 14:09:15 +08:00
media update edtior font 2022-03-07 14:51:11 +08:00
scripts Add parse argument of destination configuration file (#5203) 2022-07-01 19:03:52 +08:00
seahub Merge pull request #5204 from haiwen/repo-share-info 2022-07-04 12:03:55 +08:00
sql update custom_share_permission sql for sqlite3 2022-01-22 17:03:47 +08:00
static
tests update tests 2022-06-27 16:16:06 +08:00
thirdpart remove *.mo files 2021-09-23 18:24:34 +08:00
tools
.gitignore
.travis.yml.bak
code-check.sh
CONTRIBUTORS
dev-requirements.txt
HACKING
i18n.sh
LICENSE-thirdparty.txt
LICENSE.txt
Makefile remove *.mo files 2021-09-23 18:24:34 +08:00
manage.py
pylintrc
pylintrc.template
pytest.ini
README.markdown
requirements.txt update requirements.txt 2021-12-09 18:37:31 +08:00
run-seahub.sh.template
send_user_notifications.sh.template
setenv.sh.template
test-requirements.txt update test-requirements.txt 2022-01-19 09:50:36 +08:00

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