cedadev / swallow

Swallow - a Birdhouse WPS for running the NAME Trajectory code.
Other
0 stars 1 forks source link

Running swallow on the staging server #19

Closed agstephens closed 2 years ago

agstephens commented 2 years ago

@alaniwi after too much digging I finally worked out that there is a security filter file that is read by the CEDA WPS UI that decides whether it can show a form. At the moment it just hangs if it fails to find the IDENTIFIER of the process you are trying to render. (I spent a long time looking at dead-ends!). See: #18

I have added the IDENTIFIER "RunNAME1" to the list of open processes, so I suggest you just stick to using that for now - and you won't have to go through the confusion of getting NGINX timeouts.

Here are instructions to run, edit, restart etc...

ssh root@ceda...staging

# setup env and change dir
source ~/setup-swallow.sh

# Restart WPS
make restart

View results at: https://ceda-wps-staging.ceda.ac.uk/processes/list?wps=1bc70f44c63f4da992010bf31fb28a2a

To make a change...

If you edit the code, the UI will pick up the changes automatically after restarting the WPS (swallow):

make restart