Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
*Step 3:*
Create a folder called {{c:\pywps\pywps_processes}} and add the file {{default.cfg}} (from {{c:\pywps\pywps}}) into it, if you like you can insert your own information in the file. However, do not forget to set the correct path for {{tempPath}} and {{outputPath}} under \[server\] section. Set {{processesPath}} to {{c:/pywps/pythonpywps_processes}} and set the {{logFile}} to somewhere (the path slashes should conform to python conventions, which happen to be the same as the linux slash convention, and not the windows convention. Note that python paths should never end with a slash\!).

...

Step 7:
Now pywps runs, test for correct WPS behaviour in browser using the syntax in WPS primer. In c:\pywps\tests\processes some example processes are included, copy its entire contents to the c:\pywpspywps\python_processes folder (that you configured as processesPath=c:/pywps/pywps_processes in c:\pywps\pywps_processes\default.cfg) and find out whether you can get them to run. First test the GetCapabilities request:

...

Step 8:
Now add your own Python processes as WPS by copying your processes to the c:\pywpspywps\python_processes folder too. Use the WPS syntax (Setting up a WPS process using PyWPS) for your python functions as in the copied examples. Change 3 things when adding a new WPS process based on these examples:

...