mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Update to startup and build scripts
This commit is contained in:
@@ -9,4 +9,5 @@ fabric==0.9.1
|
||||
flup
|
||||
django-debug-toolbar==0.8.3
|
||||
simplejson
|
||||
django-celery
|
||||
celery==2.1.2
|
||||
django-celery==2.1.2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
rm -rf ./env
|
||||
virtualenv -q --distribute env
|
||||
virtualenv --distribute env
|
||||
. ./env/bin/activate
|
||||
pip install -q -r requirements.txt
|
||||
pip install -r requirements.txt
|
||||
|
||||
3
start.sh
3
start.sh
@@ -23,5 +23,6 @@ sleep 1
|
||||
cd $ROOT
|
||||
source ./env/bin/activate
|
||||
|
||||
./manage.py celeryd -B -E -c 5 -l INFO --pidfile $CELERYD_PID_FILE > $ROOT/logs/celeryd.log 2>&1 &
|
||||
./manage.py celeryd_detach -l INFO -B -E --pidfile $CELERYD_PID_FILE -f $ROOT/logs/celeryd.log -n auth-processor
|
||||
./manage.py runfcgi daemonize=true pidfile=$AUTH_PID_FILE host=127.0.0.1 port=9981 errlog=$ROOT/logs/stderr.log outlog=$ROOT/logs/stdout.log
|
||||
./manage.py celerycam --freq=1.0 &
|
||||
|
||||
Reference in New Issue
Block a user