cedadev / goldfinch

The Goldfinch WPS - which supports filtering and extraction of MIDAS data
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Useful info for deployed services (for docs) #23

Open agstephens opened 3 years ago

agstephens commented 3 years ago
. ./setup-env.sh
pip uninstall -y goldfinch; sleep 1; pip install .

And on the WPS server, also need to do:

supervisorctl restart goldfinch
agstephens commented 3 years ago

Trouble-shooting when a WPS (bird) does not run

mkdir /var/run/pywps
nginx_user=$(ps aux | grep "nginx: worker" | cut -d' ' -f1 | head -1)

chown ${nginx_user}.users /var/run/pywps
supervisorctl restart all