Skip to main content

Humilis plug-in to deploy a SAM application

Project description

[![PyPI](https://img.shields.io/pypi/v/humilis-sam.svg?style=flat)](https://pypi-hypernode.com/pypi/humilis-sam)

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/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-elasticache/blob/master/LICENSE.txt

© 2017 Arnaud Charpentier, [Find Hotel][fh] and others.

[fh]: http://company.findhotel.net

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

humilis-sam-0.0.1.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file humilis-sam-0.0.1.tar.gz.

File metadata

File hashes

Hashes for humilis-sam-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b4bbb31b70422e8578c71398efa3af59053f3059ede70b713f515fe154c214d
MD5 95457629a52b5455f75a9de3c5857d41
BLAKE2b-256 6cc555971adcfeb3cd73f9140db0c952c7891a2971bb3ee8d47ed8a6f085fb1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page