Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Templates for new geospatial OpenFaas functions in R and Python

Notifications You must be signed in to change notification settings

disarm-platform/faas-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

faas-templates

Templates for new geospatial OpenFaas functions in R and Python:

Templates available:

  • python-geospatial (includes R installation for use with disarm-gears package)
  • r-geospatial

Both include some useful wrapper code.

Create new function

  1. faas template pull https://github.com/disarm-platform/faas-templates.git
  2. faas new --lang <template-name> <function-name>

Adapt existing function

  1. faas template pull https://github.com/disarm-platform/faas-templates.git
  2. Edit stack.yml or equivalent, to change the lang property to one of the templates available.

Updating the templates

Either rm -rf template, or faas template pull https://github.com/disarm-platform/faas-templates.git --overwrite.

About

Templates for new geospatial OpenFaas functions in R and Python

Resources

Stars

Watchers

Forks

Packages

No packages published