Skip to content

Blue Green Microservice built on top of DEEP Framework and used in DEEP Marketplace

License

Notifications You must be signed in to change notification settings

MitocGroup/deep-microservices-blue-green

Repository files navigation

deep-microservices-blue-green

Build Status Test Coverage

deep-microservices-blue-green is a microservice designed to provide Blue Green deployment capabilities in applications built on top of DEEP Framework.

Getting Started

Step 1. Pre-requisites

npm install deepify -g

If you want to use deepify on Windows, please follow the steps from Windows Configuration before running npm install deepify -g and make sure all npm and deepify commands are executed inside Git Bash.

Step 2. Install Microservice(s) Locally

deepify install github://MitocGroup/deep-microservices-blue-green ~/deep-microservices-blue-green

Path parameter in all deepify commands is optional and if not specified, assumes current working directory. Therefore you can skip ~/deep-microservices-blue-green by executing mkdir ~/deep-microservices-blue-green && cd ~/deep-microservices-blue-green before deepify install.

Step 3. Run Microservice(s) in Development

deepify server ~/deep-microservices-blue-green -o

When this step is finished, you can open in your browser the link http://localhost:8000 and enjoy the deep-microservices-blue-green running locally.

Step 4. Deploy Microservice(s) to Production

deepify deploy ~/deep-microservices-blue-green

Amazon CloudFront distribution takes up to 20 minutes to provision, therefore don’t worry if it returns an HTTP error in the first couple of minutes.

Step 5. Remove Microservice(s) from Production

deepify undeploy ~/deep-microservices-blue-green

Amazon CloudFront distribution takes up to 20 minutes to unprovision. That's why deepify command checks every 30 seconds if it's disabled and when successful, removes it from your account.

Developer Resources

Having questions related to deep-microservices-blue-green?

Interested in contributing to deep-microservices-blue-green?

Looking for web applications that use (or are similar to) deep-microservices-blue-green?

Sponsors

This repository is being sponsored by:

This code can be used under MIT license:

See LICENSE for more details.