Metadata-Version: 2.1
Name: madeira-tools
Version: 0.13
Summary: Madeira Tools
Home-page: https://github.com/mxmader/madeira-tools
Author: Joe Mader
Author-email: jmader@jmader.com
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# Madeira Tools

This is a collection of tools that wraps `madeira` aiming to provide a standard set of functionality
for deployment of test and production apps to AWS.

## Command line tools

`madeira-deploy`
* Deploys the application to the `test` environment

`madeira-deploy --debug`
* Deploys the application to the `test` environment with debugging

`madeira-deploy --mode production`
* Deploys the application to the `production` environment

`madeira-clean-layers`
* Deletes any orphaned Lambda Layer versions

`madeira-package-layer <layer name>`
* Packages dependencies for use as AWS lambda function layers
* Must be run from application project root
* References the `layer_requirements.txt` file in said project root

`madeira-remove`
* Removes the application from the `test` environment

`madeira-remove --mode production`
* Removes the application from the `production` environment

`madeira-run-api`
* Runs the API container, if any, and attaches to its shell or log output in the foreground

`madeira-run-dev`
* Opens XFCE4 terminal with 2 tabs - each for API and UI container runtime + logging
* Must be run from application project root

`madeira-run-ui`
* Runs the API container, if any, and attaches to its shell or log output in the foreground
