Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 2.37 KB

tools.md

File metadata and controls

85 lines (55 loc) · 2.37 KB

DEEP Development Tools

Tools set is indeed to help developers to focus on the code and not on infrastructure management.

Entry point of each command is the executable deepify (ex. deepify deploy, deepify undeploy).

Type deepify --help in order to get some info.

deepify --version or deepify [command] --version will print out the current wrapper/command version

Running Lambda locally

In order to test lambdas before deploying them you are able to use lambda binary.

~#: deepify lambda tests/lambda/handler_hello.js --event='{"name":"Developer"}'

For more details read documentation

Running development server

To start local development server you have to run

~#: deepify server path/to/web_app

For more details read documentation

Creating/Updating web apps on local machine

In order to publish microservices from local machine use deepify deploy command.

~#: deepify deploy path/to/web_app

Note that the command would look for an internal config to update an web app

For more details read documentation

Dump the "Hello World" web app

In order to dump the "Hello World" sample web app into path/to/web_app run the following command:

~#: deepify helloworld path/to/web_app

For more details read documentation

Remove provisioning and uploaded data

In order to remove provision created for path/to/web_app run the following command:

~#: deepify undeploy path/to/web_app

For more details read documentation

Enabling/Disabling SSL certificate on a deployed web app

In order to enable SSL certificate on a deployed web app use deepify enable-ssl command. It uses CertificateManager to generate the certificate and assigns the certificate to the existing CloudFront distribution.

~#: deepify enable-ssl path/to/web_app --domain='example.com'
~#: deepify disable-ssl path/to/web_app --domain='example.com'

Note that you'll have to activate the certificate manually before deepify could activate it and assign to the CloudFront distribution