An open API service indexing awesome lists of open source software.

https://github.com/ghost91-/dlang-aws-lambda-hello-world

A simple demo application for D on AWS Lambda.
https://github.com/ghost91-/dlang-aws-lambda-hello-world

aws-lambda dlang serverless

Last synced: about 2 months ago
JSON representation

A simple demo application for D on AWS Lambda.

Awesome Lists containing this project

README

          

# DLang AWS Lambda Hello World

A simple demo application for D on AWS Lambda.

## Building

Simply run

```bash
dub build
```

This creates a file `bootstrap.zip` which contains the compiled binary and can
be used to create a Function on AWS Lambda.

## Deploying to AWS Lambda using [serverless](https://serverless.com/)

1. Setup AWS credentials for serverless as described in the
[corrsponding section in the serverless documentation].
2. Build the application as described in the previous section.
3. Run
```bash
serverless deploy
```

[corrsponding section in the serverless documentation]: https://serverless.com/framework/docs/providers/aws/guide/credentials/