1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00
lian f20707163b View file error (#2341)
* Revert "update file view page"

This reverts commit 6cac4e1fe4.

* update file view page

show msg when file can not be previewed
2018-09-05 14:14:14 +08:00
2018-08-10 17:37:28 +08:00
2015-05-09 13:58:12 +08:00
2018-08-31 13:21:14 +08:00
2018-09-05 10:44:58 +08:00
2018-09-04 15:31:37 +08:00
2018-09-05 14:14:14 +08:00
2018-06-27 11:04:45 +08:00
2018-08-31 14:05:17 +08:00
2018-06-14 16:51:13 +08:00
2016-07-26 10:51:29 +08:00
2018-09-04 17:16:50 +08:00
2018-08-10 17:37:28 +08:00
2018-08-24 17:06:23 +08:00
2017-11-14 16:49:01 +08:00
2016-07-30 11:09:19 +08:00
2014-03-04 11:38:20 +08:00
2014-03-04 11:38:20 +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 1.4 GiB
Languages
JavaScript 60.3%
Python 31.9%
CSS 5.2%
HTML 1.6%
Shell 1%