seafile/web
lins05 8875ff5e1b [client] edit server address of a repo
If the ccnet-server address is changed (either address or
port is changed), on the client side the user should edit the
repo's server address/port accorodingly.
2013-02-05 16:07:05 +08:00
..
i18n [client] edit server address of a repo 2013-02-05 16:07:05 +08:00
seaserv [win] Use unicode api when have strings 2012-11-26 17:38:50 +08:00
static [client] edit server address of a repo 2013-02-05 16:07:05 +08:00
templates [client] edit server address of a repo 2013-02-05 16:07:05 +08:00
clean-web.sh Make seafile-apple run. 2012-08-04 19:53:23 +08:00
deprecated.py Make seafile-apple run. 2012-08-04 19:53:23 +08:00
extend_po.sh Make seafile-apple run. 2012-08-04 19:53:23 +08:00
main.py [client] edit server address of a repo 2013-02-05 16:07:05 +08:00
msg.py Make seafile-apple run. 2012-08-04 19:53:23 +08:00
po.py Make seafile-apple run. 2012-08-04 19:53:23 +08:00
pygettext.py Make seafile-apple run. 2012-08-04 19:53:23 +08:00
README Make seafile-apple run. 2012-08-04 19:53:23 +08:00
run-seafileweb.sh Add quota check for org's repos. 2012-08-15 16:29:01 +08:00
setenv-seafile.sh Make seafile-apple run. 2012-08-04 19:53:23 +08:00
settings.py improve gui 2012-11-07 11:42:35 +08:00
setup_mac.py [mac] Update version to 1.4.1 2013-01-17 18:57:57 +08:00
setup-web.sh Make seafile-apple run. 2012-08-04 19:53:23 +08:00
test-web.sh Make seafile-apple run. 2012-08-04 19:53:23 +08:00
utils.py Make seafile-apple run. 2012-08-04 19:53:23 +08:00

To launch the web application

1. fetch web.py
2. fetch mako
3. generate messages.mo

    cd i18n
    msgfmt -o zh_CN/LC_MESSAGES/messages.mo zh_CN/LC_MESSAGES/messages.po
    msgfmt -o en_US/LC_MESSAGES/messages.mo en_US/LC_MESSAGES/messages.po

4. set environment

    export CCNET_CONF_DIR=/home/plt/dev/ccnet2/seafile/tests/basic/conf1

5. install ccnet and set PYTHONPATH, for example

    export PYTHONPATH=/opt/lib/python2.6/site-packages

6. launch

        python main.py

   or use port 8081

        python main.py 8081


TEST SEAFILE
============

1. Start seafile 
   cd seafile/tests/basic
   ./seafile.sh 1 2 3 4