0.0.14 • Published 4 years ago

@meka-js/cli v0.0.14

Weekly downloads
14
License
MIT
Repository
-
Last release
4 years ago

Meka CLI

A CLI for developing Meka strategies and testing them locally.

Get started (using boilerplate)

Clone the Meka boilerplate repo:

git clone git@github.com:hillstreetlabs/meka-boilerplate.git

Install node modules in the cloned directory:

cd meka-boilerplate
yarn install

Start the server for your strategy (using serverless-offline):

yarn dev # SLS_DEBUG=* sls offline --watch

A stubbed version of AWS Lambda will run on port 3002, though you can change the port in serverless.yml.

Open a new tab for the same directory, and start the Meka dev environment (running on port 4000 by default):

meka dev --lambdaPort 3002

Go to http://localhost:4000 and click the "Tutorial" button.