Bumps [on-headers](https://github.com/jshttp/on-headers) and [compression](https://github.com/expressjs/compression). These dependencies needed to be updated together. Updates `on-headers` from 1.0.2 to 1.1.0 - [Release notes](https://github.com/jshttp/on-headers/releases) - [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md) - [Commits](https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0) Updates `compression` from 1.7.5 to 1.8.1 - [Release notes](https://github.com/expressjs/compression/releases) - [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/compression/compare/1.7.5...v1.8.1) --- updated-dependencies: - dependency-name: on-headers dependency-version: 1.1.0 dependency-type: indirect - dependency-name: compression dependency-version: 1.8.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Introduction
Seahub is the web frontend for Seafile.
Preparation
- Build and deploy Seafile server from source. See https://manual.seafile.com/latest/
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 submit translations via Transifex:
Steps:
-
Visit the webpage of Transifex (https://explore.transifex.com/haiwen/seahub/).
-
Click the "Join this project" button in the bottom right corner.
-
Use an email or GitHub account(recommended) to create an account.
-
Select a language and click 'Join project' to join the language translation.
-
After accepted by the project maintainer, then you can upload your file or translate online.