Templates for new geospatial OpenFaas functions in R and Python:
Templates available:
python-geospatial
(includesR
installation for use withdisarm-gears
package)r-geospatial
Both include some useful wrapper code.
faas template pull https://github.com/disarm-platform/faas-templates.git
faas new --lang <template-name> <function-name>
faas template pull https://github.com/disarm-platform/faas-templates.git
- Edit
stack.yml
or equivalent, to change thelang
property to one of the templates available.
Either rm -rf template
, or faas template pull https://github.com/disarm-platform/faas-templates.git --overwrite
.