drogon-applicaster
v0.16.0
Published
A command-line tool for deploying `Modular` SDK to production
Downloads
11
Readme
Drogon
CLI app for Applicaster client SDK's deployment flow
Prerequisites
- NPM installed
- Ruby installed
- Bundler installed
Installation
npm install drogon-applicaster@latest -g
Make sure you are using the most updated version always
Usage
Setup
Run drogon setup
Before you can use Drogon
and deploy you need to setup zapp-token
and github-token
.
Run the command and follow the instructions. You don't need to set the configuration more than once
You can find the tokens in Applicaster's Accounts system and Github respectively.
Deployment
Run drogon fly -v <version>
The process of deployment must be clear. No magic under the hood. These are the steps:
- Creating new tag.
- Generating Changelog.
- Commiting and pushing the changelog to the development branch.
- Merging the latest code to the release branch - this should initiate the auto deployment process in each platform.
- Creating a new
SDK version
on Zapp CMS.
The tag is created according to the version specified. Make sure that the tag does not already exists. The version number will be used as the SDK version number that will be created on Zapp.
You can also deploy HOTFIX
from a specific branch to production branch. Be aware that you will need to manually update the development branch.
Use drogon fly -H <branch-name> -v <version>
ENJOY!