Deploy in 3 commands (assuming you already have a SMTP server deployed).
$ make
+-------------------------------------------------------------------+
| Make Usage |
+-------------------------------------------------------------------+
|- config -> Prints the resolved stack config
|- deploy -> Deploys the stack
|- download -> Gets the latest version of the binary
|- install-sls -> Installs serverless (via NPM)
|- remove -> Removes the stack
- Install serverless yourself or run
make install-sls
- Edit the
serverless.yml
file with the wished configuration - Run
make download && make deploy
If you wish to download a specific version of http2smtp, you can prefix the download URL as env var prior calling make download
:
$ URL=https://api.github.com/repos/eexit/http2smtp/releases/tags/v1.2.3 make download
Then deploy using make deploy
.