Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.21 KB

README.md

File metadata and controls

62 lines (44 loc) · 1.21 KB

Setup

The build process relies on npm, esbuild, and the TypeScript compiler. You only need to install npm manually; it will take care of installing the rest of the toolchain.

Building

events-a

Change the current working directory to events-a.

You can build the eponymous service like so:

npm install
npm run build
npm run postbuild

You can use the custom create script to create and publish the remote AWS Lambda, but you will likely need to modify the --role parameter. Once customized for your AWS environment, you can:

npm run create

If you need to redeploy (because you made changes):

npm run package
npm run deploy

events-b

Change the current working directory to events-b.

You can build the eponymous service like so:

npm install
npm run build
npm run postbuild

You can use the custom create script to create and publish the remote AWS Lambda, but you will likely need to modify the --role parameter. Once customized for your AWS environment, you can:

npm run create

If you need to redeploy (because you made changes):

npm run package
npm run deploy