Skip to content

Commit

Permalink
Add note on realse mode to CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Dec 31, 2024
1 parent 28bd265 commit 801bf70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ Prerequisites:
- [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html)
- DynamoDB Local [container](#backend-with-dynamodb-local)

NB! `API Gateway Local` will only work when the binary is built in release mode (`sam build` will do this for us).
See how we are wrapping the `axum` app in the `LambdaLayer` in release mode in [main](./server/src/main.rs).

To build and launch the application as a `Lambda` function behind `API Gateway` locally, `cd` to the server
directory, and hit:

Expand Down

0 comments on commit 801bf70

Please sign in to comment.