MitocGroup / deep-package-manager

DEEP = Digital Enterprise End-to-end Platform
https://www.deep.mg
Mozilla Public License 2.0
3 stars 0 forks source link
cloud-native deep-framework full-stack javascript serverless

deep-package-manager

NPM Version Build Status Test Coverage API Docs

deep-package-manager is the software development tool-chain that abstracts package management and associated development operations. This CLI (aka Command Line Interface) is a Node.js library that works in combination with 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-helloworld ~/deep-microservices-helloworld

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

Step 3. Run Microservice(s) in Development

deepify server ~/deep-microservices-helloworld -o

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

Step 4. Deploy Microservice(s) to Production

deepify deploy ~/deep-microservices-helloworld

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-helloworld

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-package-manager?

Interested in contributing to deep-package-manager?

Looking for web applications that use (or are similar to) deep-package-manager?

Sponsors

This repository is being sponsored by:

This code can be used under MIT license:

See LICENSE for more details.