Sample project for ClojureScript on Amazon Lambda
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/clonezero
static
test/clonezero
.gitignore
README.md
project.clj

README.md

clonezero

This is a sample project for ClojureScript on Lambda, for a talk at @clojureireland on 7th Sept, 2016.

Slides from the talk: A New Clone Army: ClojureScript on Lambda.

The rest of this README is the default, generated by cljs-lambda.

Deploying

Run lein cljs-lambda default-iam-role if you don't have yet have suitable execution role to place in your project file. This command will create an IAM role under your default (or specified) AWS CLI profile, and modify your project file to specify it as the execution default.

Otherwise, add an IAM role ARN under the function's :role key in the :functions vector of your profile file, or in :cljs-lambda -> :defaults -> :role.

Then:

$ lein cljs-lambda deploy
$ lein cljs-lambda invoke work-magic ...

Testing

lein doo node clonezero-test

Doo is provided to avoid including code to set the process exit code after a test run.