Discord Bot written in rust, powered by AWS Lambda. Packaged and Deployed with AWS CDK.
If you encounter any issues with setup (during any prescribed install / setup script) or after setup (namely during build) please open an issue. Most of the time these seem to be one off issues with missing packages on your dev station. There is an open issue for resolving this issue that will take some time to arrive, but any PRs to expand the setup / install scripts are welcome.
- Run install script for your OS (ex:
yarn/npm install:arch
) - Run
yarn/npm setup:dev:env
- tbd...
- Set up AWS CDK (Bootstrap CDK/ AWS CLI Credentials /
npm / yarn i aws-cdk
) yarn deploy
-
setup:dev:env
installs necessary dependencies such as cargo-lambda for developing -
gen:lambda:rust
generates a rust lambda directory in src, pass in a name for your directory, ex:yarn gen:lambda:rust example-project
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template