Skip to content

Commit

Permalink
Develop serverless core (#4)
Browse files Browse the repository at this point in the history
* Update docs

* Update to latest version of userverless-core
  • Loading branch information
onema authored Oct 30, 2018
1 parent a69b590 commit f343c1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ LambdaMailer
============
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg?longCache=true&style=flat-square)](LICENSE)

Description
-----------

Serverless application to send emails using SES and Lambda.
## Description
LambdaMailer is a simple Serverless mailing system for AWS SES build on [µServerless](https://github.com/onema/uServerless) and [Scala](https://www.scala-lang.org/)
and deployed using the [serverless framework](https://serverless.com).

The project defines three lambda functions (mailer, bouce, and forwarder) and a dynamodb table to keep track of bounces and complaints.

Expand Down Expand Up @@ -62,8 +61,7 @@ spam@example.com=my.rea.email@gmail.com,anotheremail@yahoo.com&foobar@example2.c
```
and it must be assigned to the `EMAIL_MAPPING` environment variable.

Installation
------------
## Installation
You must build the project before it is deployed using SBT:
```bash
sbt compile
Expand All @@ -85,8 +83,7 @@ Under edit configuration select the `<STAGE>-mailer-bounce` SNS Topic for both B

Save Config, and you are done!

Uninstall
---------
## Uninstall
```bash
./build remove dev
serverless remove
```
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
resolvers += "Onema Snapshots" at "s3://s3-us-east-1.amazonaws.com/ones-deployment-bucket/snapshots"
//resolvers += "Onema Snapshots" at "s3://s3-us-east-1.amazonaws.com/ones-deployment-bucket/snapshots"

lazy val root = (project in file("."))
.settings(
organization := "io.onema",

name := "lambda-mailer",

version := "0.4.3",
version := "0.5.0",

scalaVersion := "2.12.7",

libraryDependencies ++= {
Seq(
// dependencies
"io.onema" % "userverless_2.12" % "0.0.10",
"io.onema" % "userverless-core_2.12" % "0.0.1",
"org.apache.commons" % "commons-email" % "1.5",

// AWS Clients
Expand Down

0 comments on commit f343c1f

Please sign in to comment.