1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00
Mirror
Go to file
zhengxie 37eacd22c3 Merge branch 'feature/share_dir'
Conflicts:
	utils/__init__.py
	views.py
2013-01-03 19:30:50 +08:00
api Changed rpc name 2012-12-24 16:53:32 +08:00
api2 Clean api2 2012-12-29 10:31:23 +08:00
avatar i18n for group avatar 2012-12-06 19:55:28 +08:00
base show last modified in file list 2013-01-03 17:35:00 +08:00
contacts Fixed bug when email contains '+' sign 2012-12-24 19:57:34 +08:00
fts
group fix group-list style bug 2012-12-22 19:12:51 +08:00
locale Added Russian support 2012-12-28 11:27:11 +08:00
logs Added logging 2012-12-27 20:49:50 +08:00
media Merge branch 'feature/share_dir' 2013-01-03 19:30:50 +08:00
notifications
organizations [profile edit] modified 'account' ui in home pages and added tip to avatar-link in topbar 2012-12-26 15:01:22 +08:00
profile modified file upload/update and user/group avatar change 2012-12-06 17:47:31 +08:00
share Added dir shared link feature 2013-01-03 19:28:57 +08:00
subdomain
templates Merge branch 'feature/share_dir' 2013-01-03 19:30:50 +08:00
thirdpart Added dir shared link feature 2013-01-03 19:28:57 +08:00
tools add a script to generate seahub tarball 2012-12-26 10:51:00 +08:00
utils Merge branch 'feature/share_dir' 2013-01-03 19:30:50 +08:00
__init__.py
.gitignore
cconvert.py
CONTRIBUTORS Added Russian support 2012-12-28 11:27:11 +08:00
convert-utf-8.txt
forms.py Fixed bug in cp/move and file/dir path 2012-12-25 15:05:12 +08:00
HACKING
handlers.py
i18n.sh fixed a bug in i18n.sh script 2012-12-06 14:49:14 +08:00
manage.py
notification_email.sh.template
po.py
README.markdown Added Russian support 2012-12-28 11:27:11 +08:00
run-fts.sh
run-seahub.sh.template
setenv.sh.template
settings.py Modified version and clean code 2012-12-28 17:14:51 +08:00
shortcuts.py
signals.py
test-seahub.sh.template
urls.py Added dir shared link feature 2013-01-03 19:28:57 +08:00
user_notification.py
views.py Merge branch 'feature/share_dir' 2013-01-03 19:30:50 +08:00

Introduction

Seahub is the web frontend for Seafle.

Preparation

Getting it

You can grab souce code from GitHub.

$ git clone git://github.com/haiwen/seahub.git

Configuration

Modify CCNET_CONF_DIR and PYTHONPATH in setenv.sh to fit your path.

Run and Verify

Run as:

./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)

You are welcome to add translation in your language. For example, if you like to add Russian translation.

First, you need to add your language code to Settings.py. In this case, add ('ru', gettext_noop(u'Русский')), to LANGUAGES tuple.

Then, run this command:

django-admin.py makemessages -l ru -e py,html

There will be a file named django.po under locale/ru/LC_MESSAGES.

After you modified django.po, you can run ./i18n.sh compile-all, this will create .mo file under same directory with django.po.

That's it. After restart Seahub, you can select popup button at right top, and your translations are ready for use.