• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H06-Aug-2021-7661

.tx/H06-Aug-2021-2117

bin/H06-Aug-2021-5336

fabfile/H06-Aug-2021-171125

frontend/H06-Aug-2021-28,02627,492

locale/H06-Aug-2021-420,553344,412

media/H06-Aug-2021-42,46538,589

seahub/H03-May-2022-75,89856,935

sql/H06-Aug-2021-4,6283,311

static/H06-Aug-2021-66

tests/H03-May-2022-27,80920,140

thirdpart/H06-Aug-2021-7,1655,475

tools/H03-May-2022-515362

CONTRIBUTORSH A D06-Aug-2021555 1814

HACKINGH A D06-Aug-20212.6 KiB8458

MakefileH A D06-Aug-2021979 4231

README.markdownH A D06-Aug-20211.4 KiB5731

code-check.shH A D03-May-20221,022 5945

i18n.shH A D03-May-20223.2 KiB119103

manage.pyH A D03-May-2022254 116

pylintrcH A D06-Aug-20218.9 KiB286201

pylintrc.templateH A D03-May-20228.9 KiB286201

pytest.iniH A D06-Aug-2021101 54

run-seahub.shH A D03-May-202258 62

run-seahub.sh.templateH A D03-May-202258 62

send_user_notifications.shH A D03-May-2022406 105

send_user_notifications.sh.templateH A D03-May-2022406 105

setenv.shH A D03-May-2022316 63

setenv.sh.templateH A D03-May-2022316 63

README.markdown

1[![Build Status](https://secure.travis-ci.org/haiwen/seahub.svg?branch=master)](http://travis-ci.org/haiwen/seahub)
2
3Introduction
4==========
5
6Seahub is the web frontend for Seafile.
7
8Preparation
9==========
10
11* Build and deploy Seafile server from source. See <http://manual.seafile.com/build_seafile/server.html>
12
13Getting it
14==========
15
16You can grab souce code from GitHub.
17
18    $ git clone git://github.com/haiwen/seahub.git
19
20Set up a virtualenv to install dependencies locally:
21
22    $ virtualenv .virtualenv
23    $ . .virtualenv/bin/activate
24
25Install python libraries by pip:
26
27    $ pip install -r requirements.txt
28
29
30Configuration
31==========
32
33Modify `CCNET_CONF_DIR`, `SEAFILE_CENTRAL_CONF_DIR`, `SEAFILE_CONF_DIR` and `PYTHONPATH` in `setenv.sh.template` to fit your path.
34
35`CCNET_CONF_DIR` is the directory, that contains the ccnet socket (and formerly ccnet.conf).
36
37Since 5.0 `SEAFILE_CENTRAL_CONF_DIR` contains most config files.
38
39`SEAFILE_CONF_DIR` is the seafile-data directory (and formerly contained seafile.conf).
40
41Run and Verify
42==========
43
44Run as:
45
46    $ . .virtualenv/bin/activate
47    $ ./run-seahub.sh.template
48
49Then 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.
50
51
52Internationalization (I18n)
53==========
54
55Please refer to https://github.com/haiwen/seafile/wiki/Seahub-Translation
56
57