Humilis plug-in to deploy a SAM application
Project description
A [humilis][humilis] plug-in layer that deploys a [SAM application][AWS SAM].
[AWS SAM]: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md [humilis]: https://github.com/humilis/humilis
## Installation
` pip install humilis-sam `
To install the development version:
` pip install git+https://github.com/humilis/humilis-sam `
## Development
Assuming you have [virtualenv][venv] installed:
[venv]: https://virtualenv.readthedocs.org/en/latest/
` make develop `
Configure humilis:
` make configure `
## Testing
You can test the deployment of a serverless API with:
` make test `
The test suite should destroy the deployed API automatically, but you can make sure you are not leaving any infrastructure behind by manually running:
`bash make delete `
## Examples
To see some examples of how to use this Humilis layer refer to the integration tests : ` tests/integration/humilis-sam-classic.yaml tests/integration/humilis-sam-swagger.yaml `
The SAM application can be deployed using a swagger file or not. If you chose to use the swagger method, the swagger template will be generated automatically and outputed next to your environment file.
## More information
See [humilis][humilis] documentation.
[humilis]: https://github.com/humilis/humilis/blob/master/README.md
## Contact
If you have questions, bug reports, suggestions, etc. please create an issue on the [GitHub project page][github].
[github]: http://github.com/humilis/humilis-sam
## License
This software is licensed under the [MIT license][mit].
[mit]: http://en.wikipedia.org/wiki/MIT_License
See [License file][LICENSE].
[LICENSE]: https://github.com/humilis/humilis-sam/blob/master/LICENSE.txt
© 2017 Arnaud Charpentier, [Find Hotel][fh] and others.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file humilis-sam-0.1.1.tar.gz
.
File metadata
- Download URL: humilis-sam-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bac3a528457a062fc5b40abda523ddd49fd6685ca44a54c832508b27525a49fc |
|
MD5 | 5ebd99ec411e56e3df2565bf1d3ddef0 |
|
BLAKE2b-256 | 0693042d34b94a22f91e49d5fbe104b116d307961cc2a5bfd147bf79ffda131c |