Changeset 8ee2af5 in OpenWorkouts-current
- Timestamp:
- Mar 3, 2019, 7:20:29 PM (5 years ago)
- Branches:
- current
- Children:
- 4fea0a0
- Parents:
- 0398a0c
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r0398a0c r8ee2af5 59 59 var/log/zeo_stop.err 60 60 var/log/zeo_stop.log 61 var/log/uwsgi/uwsgi.log 62 63 # pid files 61 64 var/run/pserve.pid 65 var/run/uwsgi.pid 66 67 # temp files 68 var/tmp/chameleon/* 69 var/tmp/egg_cache/* 62 70 63 71 # JS static external components and libraries -
bin/install
r0398a0c r8ee2af5 94 94 } 95 95 96 create_temp_dirs() { 97 # Creates the tmp directory where cache files are stored 98 echo "Creating tmp and cache directories ${current}/var/tmp" 99 mkdir -p ${current}/var/tmp/chameleon 100 mkdir -p ${current}/var/tmp/egg_cache 101 } 102 96 103 setup_mail_server() { 97 104 echo "" … … 152 159 setup_mail_server 153 160 create_cron_job 161 create_temp_dirs 154 162 setup_start_stop -
bin/start
r0398a0c r8ee2af5 13 13 14 14 ctrl_c() { 15 ./bin/uwsgi_stop 15 16 ./bin/zeo_stop 16 17 } … … 32 33 # And finally run the server 33 34 echo "Starting OpenWorkouts" 34 pserve --reload development.ini >> var/log/pserve.log 2>> var/log/pserve.err & 35 echo $! > var/run/pserve.pid 35 ./bin/uwsgi_start development 36 36 37 37 # show the url where the app is accesible 38 ow_url=http://`grep listendevelopment.ini |cut -f 3 -d " "`38 ow_url=http://`grep http etc/uwsgi_development.ini |cut -f 3 -d " "` 39 39 echo "Open this url in your browser to access the app: ${ow_url}" 40 40 # open ${ow_url} -
bin/uwsgi_start
r0398a0c r8ee2af5 5 5 6 6 case "$1" in 7 'development') 8 uwsgi --ini etc/uwsgi_development.ini 9 echo "Started uwsgi, check var/log/uwsgi/uwsgi.log for more info" 10 ;; 7 11 'staging') 8 12 uwsgi --ini etc/uwsgi_staging.ini
Note: See TracChangeset
for help on using the changeset viewer.