1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-26 18:40:53 +00:00

[Mac] run seahub in mac

This commit is contained in:
poet 2012-07-07 23:11:06 +08:00
parent f528f22407
commit 5cc1608d38
3 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.

View File

@ -1,6 +1,5 @@
#!/bin/bash
export CCNET_CONF_DIR=/home/plt/dev/ccnet/seafile/tests/basic/conf2
export PYTHONPATH=/opt/lib/python2.6/site-packages:thirdpart
. setenv.sh
./manage.py runserver

View File

@ -1,2 +1,2 @@
export CCNET_CONF_DIR=/home/plt/dev/ccnet/seafile/tests/basic/conf1
export PYTHONPATH=/opt/lib/python2.6/site-packages:thirdpart
export CCNET_CONF_DIR=/home/plt/dev/ccnet/seafile/tests/basic/conf2
export PYTHONPATH=/opt/lib/python2.6/site-packages:thirdpart:$PYTHONPATH