fission / examples

A place for examples of Fission functions from community and Fission team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fission Examples & Samples

A place for examples of Fission functions from community and Fission team. These are sample codes and application that will help you understand Fission better. You can use these as stepping stone to build your real world use cases on Fission.

Currently, the examples in this repo are categorised based on the languages as mentioned below:

There are other examples with respect to different use cases that are present under the Miscellaneous folder. You can find examples related to message triggers, specifications, using Fission for testing and much more.

Getting Started

The easiest way to getting started with Fission is shown below. This one is using Python, however, you can refer to the examples present for other langugages as well.

Create a Fission Python environment with the default Python runtime image (this does not include the build environment):

fission environment create --name python --image fission/python-env

Use the hello.py to create a Fission Python function:

fission function create --name hello-py --env python --code hello.py 

Test the function:

fission function test --name hello-py

For a full guide see the official documentation on Python with Fission.

Documentation

If you are new to Fission and want to know how it works, features and everything else, refer to the Fission Documents

Fission Blog

We are always working on getting new examples and use cases using Fission for you. For the latest updates on what's goind on with Fission, check out our Fission Blog.

About

A place for examples of Fission functions from community and Fission team

License:Apache License 2.0


Languages

Language:JavaScript 26.3%Language:Go 22.0%Language:HTML 21.5%Language:Python 14.0%Language:CSS 5.0%Language:Shell 3.2%Language:PHP 1.8%Language:Dockerfile 1.8%Language:Ruby 1.4%Language:C# 1.1%Language:Java 0.7%Language:Smarty 0.6%Language:Perl 0.6%