lambda for watching rainfall & logging it.
Initializes some files.
$ yarn install
$ yarn setup
run locally
$ yarn start
Uploading to Cloud via aws-cli.
- Fill the blank in
.env
file - Write AWS_ENVIRONMENT, AWS_ROLE_ARN, AWS_FUNCTION_NAME
AWS_ENVIRONMENT=development or production AWS_ROLE_ARN=arn:aws:***************
- Deploy
$ yarn deploy