This is the service repo for Sentence.io.
It is written in Rust and deployed on AWS Lambda through GitHub actions
Some commands you can run in this project
serverless
clidocker
docker build -o . .
sls invoke local --stage=local --docker --function sentenceio --path events/test.json
sls package
sls deploy --aws-profile <your-profile-here>
You can follow the step above (1, 4) if you want to build and deploy it from your local machine but there is a CD configured on main
branch.
GitHub Actions:
- Builds the project for AWS Lambda custom runtime (x86_64-unknown-linux-musl)
- Creates artifacts
- Uses Serverless framework to deploy the binaries artifacts to AWS