Last active
September 27, 2017 02:21
-
-
Save liveashish/ba51fea40f4af7df00c04ee9f9e160e5 to your computer and use it in GitHub Desktop.
Revisions
-
liveashish revised this gist
Sep 27, 2017 . 1 changed file with 8 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,20 @@ PROJECTNAME=teamwork APPNAME=worktogether PROJECTDIR=/home/ubuntu/$PROJECTNAME/ LOGFILE=$PROJECTDIR'log/gunicorn.log' ERRORFILE=$PROJECTDIR'log/gunicorn-error.log' NUM_WORKERS=3 ADDRESS=127.0.0.1:8000 cd $PROJECTDIR #source ~/.bashrc #workon $APPNAME exec gunicorn $APPNAME.wsgi:application \ -w $NUM_WORKERS --bind=$ADDRESS \ --log-level=debug \ --log-file=$LOGFILE 2>>$LOGFILE 1>>$ERRORFILE & -
liveashish revised this gist
Sep 20, 2017 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,5 +15,4 @@ cd $APPDIR exec gunicorn $APPNAME.wsgi:application \ -w $NUM_WORKERS --bind=$ADDRESS \ --log-level=debug & -
liveashish revised this gist
Sep 20, 2017 . No changes.There are no files selected for viewing
-
liveashish revised this gist
Sep 20, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ echo "APPNAME: $APPNAME" APPDIR=/home/ubuntu/$APPNAME/ LOGFILE=$APPDIR'gunicorn.log' -
liveashish created this gist
Sep 20, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ APPDIR=/home/ubuntu/$APPNAME/ LOGFILE=$APPDIR'gunicorn.log' ERRORFILE=$APPFIR'gunicorn-error.log' NUM_WORKERS=3 ADDRESS=127.0.0.1:8000 cd $APPDIR #source ~/.bashrc #workon $APPNAME exec gunicorn $APPNAME.wsgi:application \ -w $NUM_WORKERS --bind=$ADDRESS \ --log-level=debug \ --log-file=$LOGFILE 2>>$LOGFILE 1>>$ERRORFILE &