This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update env, mbaas cmds to reflect new mongoose models. Add docs.
- Loading branch information
1 parent
14f87f1
commit fe5b762
Showing
8 changed files
with
71 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
fhc admin-environments [list] | ||
fhc admin-environments read --id=<environment id> | ||
fhc admin-environments create --id=<environment id> --label=<label> --targets=<mbaasTargetId1>,<mbaasTargetId2> [--autoDeployOnCreate=<true|false>] [--autoDeployOnUpdate=<true|false>] | ||
fhc admin-environments update --id=<environment id> [--label=<label>] [--targets=<target1>,<target2>] [--autoDeployOnCreate=<true|false>] [--autoDeployOnUpdate=<true|false>] | ||
fhc admin-environments delete --id=<environment id> | ||
|
||
Where: | ||
`targets` is a comma separated list of mBaaS hostnames which this environment should deploy to. In most cases, this will be a single mBaaS. To see a list of available mBaaS targets, use the `fhc admin-mbaas` command. | ||
`autoDeployOnCreate` automatically deploys cloud apps to this environment upon first creation. This should be typically set to true for the first environment in your lifecycle chain (often `dev`), so that your new app is immediately previewable. | ||
`autoDeployOnUpdate` automatically deploys cloud apps to this environment for all subsequent updates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
fhc admin-mbaas [list] | ||
fhc admin-mbaas read --id=<mBaaS id> | ||
fhc admin-mbaas create --id=<mBaaS id> --url=<mBaaS URL> --servicekey=<mBaaS Service Key> | ||
fhc admin-mbaas update --id=<mBaaS id> [--url=<mBaaS URL>] [--servicekey=<mBaaS Service Key>] | ||
fhc admin-mbaas delete --id=<mBaaS id> | ||
|
||
Where: | ||
`id` is some unique identifier for this mBaaS | ||
`url` is the hostname of the mBaaS | ||
`servicekey` is the administrative service key used to communicate with the mBaaS. This can be provided by your operations engineer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.\" Generated with Ronnjs 0.4.0 | ||
.\" http://github.com/kapouer/ronnjs | ||
fhc admin\-environments [list] | ||
fhc admin\-environments read \-\-id=<environment id> | ||
fhc admin\-environments create \-\-id=<environment id> \-\-label=<label> \-\-targets=<mbaasTargetId1>,<mbaasTargetId2> [\-\-autoDeployOnCreate=<true|false>] [\-\-autoDeployOnUpdate=<true|false>] | ||
fhc admin\-environments update \-\-id=<environment id> [\-\-label=<label>] [\-\-targets=<target1>,<target2>] [\-\-autoDeployOnCreate=<true|false>] [\-\-autoDeployOnUpdate=<true|false>] | ||
fhc admin\-environments delete \-\-id=<environment id> | ||
. | ||
.P | ||
Where: | ||
. | ||
.br | ||
\fBtargets\fR is a comma separated list of mBaaS hostnames which this environment should deploy to\. In most cases, this will be a single mBaaS\. To see a list of available mBaaS targets, use the \fBfhc admin\-mbaas\fR command\. \fBautoDeployOnCreate\fR automatically deploys cloud apps to this environment upon first creation\. This should be typically set to true for the first environment in your lifecycle chain (often \fBdev\fR), so that your new app is immediately previewable\. \fBautoDeployOnUpdate\fR automatically deploys cloud apps to this environment for all subsequent updates\. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.\" Generated with Ronnjs 0.4.0 | ||
.\" http://github.com/kapouer/ronnjs | ||
fhc admin\-mbaas [list] | ||
fhc admin\-mbaas read \-\-id=<mBaaS id> | ||
fhc admin\-mbaas create \-\-id=<mBaaS id> \-\-url=<mBaaS URL> \-\-servicekey=<mBaaS Service Key> | ||
fhc admin\-mbaas update \-\-id=<mBaaS id> [\-\-url=<mBaaS URL>] [\-\-servicekey=<mBaaS Service Key>] | ||
fhc admin\-mbaas delete \-\-id=<mBaaS id> | ||
. | ||
.P | ||
Where: | ||
. | ||
.br | ||
\fBid\fR is some unique identifier for this mBaaS \fBurl\fR is the hostname of the mBaaS \fBservicekey\fR is the administrative service key used to communicate with the mBaaS\. This can be provided by your operations engineer\. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters