1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 19:05:16 +00:00
seahub/README.markdown

68 lines
1.8 KiB
Markdown
Raw Normal View History

2014-09-06 04:39:08 +00:00
[![Build Status](https://secure.travis-ci.org/haiwen/seahub.svg?branch=master)](http://travis-ci.org/haiwen/seahub)
2012-12-28 03:27:11 +00:00
Introduction
==========
2013-11-04 23:01:02 +00:00
Seahub is the web frontend for Seafile.
2012-12-28 03:27:11 +00:00
Preparation
==========
* Build and deploy Seafile server from source. See <https://manual.seafile.com/build_seafile/server/>
2012-12-28 03:27:11 +00:00
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
2015-04-02 07:57:10 +00:00
Install python libraries by pip:
$ pip install -r requirements.txt
2015-04-02 07:57:10 +00:00
2012-12-28 03:27:11 +00:00
Configuration
==========
Modify `CCNET_CONF_DIR`, `SEAFILE_CENTRAL_CONF_DIR`, `SEAFILE_CONF_DIR` and `PYTHONPATH` in `setenv.sh.template` to fit your path.
2013-01-08 03:52:54 +00:00
`CCNET_CONF_DIR` is the directory, that contains the ccnet socket (and formerly ccnet.conf).
2013-01-08 03:52:54 +00:00
Since 5.0 `SEAFILE_CENTRAL_CONF_DIR` contains most config files.
`SEAFILE_CONF_DIR` is the seafile-data directory (and formerly contained seafile.conf).
2012-12-28 03:27:11 +00:00
Run and Verify
==========
Run as:
$ . .virtualenv/bin/activate
$ ./run-seahub.sh.template
2012-12-28 03:27:11 +00:00
2019-04-04 10:09:47 +00:00
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.
2012-12-28 03:27:11 +00:00
2019-10-19 06:33:11 +00:00
2012-12-28 03:27:11 +00:00
Internationalization (I18n)
==========
2024-11-28 09:42:58 +00:00
Please submit translations via Transifex:
2024-11-27 04:14:24 +00:00
Steps:
2024-11-28 09:42:58 +00:00
1. Visit the webpage of Transifex ([https://explore.transifex.com/haiwen/seahub/](https://explore.transifex.com/haiwen/seahub/)).
2024-11-27 04:14:24 +00:00
2024-11-28 09:42:58 +00:00
2. Click the "Join this project" button in the bottom right corner.
2024-11-27 04:14:24 +00:00
2024-11-28 09:42:58 +00:00
3. Use an email or GitHub account(recommended) to create an account.
2019-10-19 07:16:30 +00:00
2024-11-28 09:42:58 +00:00
4. Select a language and click 'Join project' to join the language translation.
5. After accepted by the project maintainer, then you can upload your file or translate online.