commit | 54b388e72d83ba677418c1eaf2cf03aaaf31320e | [log] [tgz] |
---|---|---|
author | Lars Trieloff <lars@trieloff.net> | Wed May 10 04:26:46 2017 +0100 |
committer | Carlos Santana <csantana23@gmail.com> | Tue May 09 23:26:46 2017 -0400 |
tree | fc1bf8b1b22270f58e7c4a0a9573c421b6b454b2 | |
parent | 64de29c7ebe43ef7c99f65541ca292f1859328f0 [diff] |
A local test script for node.js functions (#26) * A local test script for node.js functions As [suggested by Carlos](https://twitter.com/csantanapr/status/861362098877739009) and [initially provided by Raymond](https://www.raymondcamden.com/2017/01/09/quick-tip-for-testing-openwhisk-actions-locally). * We don’t need zlib
Using Docker-Compose. See the README for more details.
cd docker-compose make quick-start
This is useful for creating local development environments. The build downloads by default the latest code from the master branch, but it also allows developers to work with their local clones by providing the local path to the OpenWhisk repo:
PROJECT_HOME=/path/to/openwhisk make quick-start
Each tool in this repository has to provide travis build scripts inside a .travis
folder. The folder should define 2 scripts:
setup.sh
- invoked during before_install
phasebuild.sh
- invokes during script
phaseFor an example check out docker-compose/.travis folder.