Changeset 8ee2af5 in OpenWorkouts-current for bin/install


Ignore:
Timestamp:
Mar 3, 2019, 7:20:29 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current
Children:
4fea0a0
Parents:
0398a0c
Message:

Added the scripts and config files to run uwsgi instead of pserve
for development.

This fixes a problem that caused pserve to hang up forever when
several ajax requests were sent to generate screenshots of workout
maps (pserve does not handle concurrent requests very well).

After pulled this change, you can start the app manually using the
uwsgi_start helper::

./bin/uwsgi_start development

Or just use the ./bin/start script, which takes care also of starting
ZEO and several other steps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/install

    r0398a0c r8ee2af5  
    9494}
    9595
     96create_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
    96103setup_mail_server() {
    97104    echo ""
     
    152159setup_mail_server
    153160create_cron_job
     161create_temp_dirs
    154162setup_start_stop
Note: See TracChangeset for help on using the changeset viewer.