1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00
杨顺强 9745bc26a3 Optimize wiki style (#5223)
* optimize style

* repair code bug

* optimize code
2022-07-29 10:52:52 +08:00
2020-04-07 10:45:49 +08:00
2018-12-06 14:02:56 +08:00
2021-09-23 18:24:34 +08:00
2022-07-29 10:52:52 +08:00
2022-06-22 14:09:15 +08:00
2022-07-29 10:52:52 +08:00
2022-06-27 16:16:06 +08:00
2021-09-23 18:24:34 +08:00
2019-09-11 11:46:43 +08:00
2020-12-15 18:00:39 +08:00
2019-09-11 11:46:43 +08:00
2019-09-11 11:46:43 +08:00
2017-11-14 16:49:01 +08:00
2016-07-30 11:09:19 +08:00
2021-09-23 18:24:34 +08:00
2019-10-19 15:16:30 +08:00
2022-07-27 16:26:55 +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

Description
Mirror
Readme 2.8 GiB
Languages
JavaScript 60.1%
Python 32%
CSS 5.2%
HTML 1.6%
Shell 1.1%