Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

FaaS QBasic Morse

This repository contains all code required to run a QBasic program as a FaaS function.

Building and deploying

  1. Build the Docker image.
docker build . -t jmkhael/faas-qbasic-morse
  1. Ship it to FaaS:

Either via faas-cli:

git clone https://github.com/alexellis/faas-cli
cd faas-cli/
go get -d -v
go build

./faas-cli -action=deploy \
   -image=jmkhael/faas-qbasic-morse \
   -name=morse \
   -lang=python

or via curl:

curl localhost:8080/system/functions -d '{
   "service": "morse",
   "image": "jmkhael/faas-qbasic-morse",
   "envProcess": "python handler.py",
   "network": "func_functions"
  }'

or via the UI portal: http://localhost:8080

  1. Run it: curl -X POST http://localhost:8080/function/morse -d "FaaS-inating!".

Now you can talk Morse via QBasic!

  ..-. .- .- ...  .. -. .- - .. -. --.

Check my blog post for a quick dive into Serverless FaaS: http://jmkhael.io/serverless-and-on-my-own-servers/

About

A FaaS function running QBasic Morse program

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.