Is there an existing issue for the feature request?
[X] I have checked the existing issues.
Feature Description
Implement function 'deploy' to deploy a standalone mo on current machine.
Usage : mo_ctl deploy [mo_version] [force] # deploy mo onto the path configured
[mo_version]: optional, specify an mo version to deploy
[force] : optional, if specified will delete all content under MO_PATH and deploy from beginning
e.g. : mo_ctl deploy # default, same as mo_ctl deploy 0.8.0
: mo_ctl deploy main # deploy development latest version
: mo_ctl deploy d29764a # deploy development version d29764a
: mo_ctl deploy 0.8.0 # deploy stable verson 0.8.0
: mo_ctl deploy force # delete all under MO_PATH and deploy verson 0.8.0
: mo_ctl deploy 0.8.0 force # delete all under MO_PATH and deploy stable verson 0.8.0 from beginning
Feature Implementation
Steps as below,
1. run `precheck`, and if any pre-requisite fails, exit 1
2. run `git clone`, to download source code from github or backup address
3. run `make build` and `make build modump` to build `mo-service` and `mo-dump`
Is there an existing issue for the feature request?
Feature Description
Feature Implementation
Additional information