template
Develop, build, deploy, test, monitor, and manage multiple runtime applications on virtual machines or container instances.
npm install -g underpost
underpost new app-name
After template installation, the server will be running on http://localhost:4001
cd app-name
Build client bundle
npm run build
Run dev client server
npm run dev
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
new <app-name> Create a new project
start [options] <deploy-id> [env] Start up server, build pipelines, or services
clone [options] <uri> Clone github repository
pull <path> <uri> Pull github repository
cmt [options] <path> <commit-type> [module-tag] [message] Commit github repository
push [options] <path> <uri> Push github repository
env <deploy-id> [env] Set environment variables files and conf related to <deploy-id>
config <operator> [key] [value] Manage configuration, operators
root Get npm root path
cluster [options] [pod-name] Manage cluster, for default initialization base kind cluster
deploy [options] <deploy-list> [env] Manage deployment, for default deploy development pods
secret [options] <platform> Manage secrets
dockerfile-image-build [options] Build image from Dockerfile
dockerfile-pull-base-images Pull underpost dockerfile images requirements
install Fast import underpost npm dependencies
db [options] <deploy-list> Manage databases
script [options] <operator> <script-name> [script-value] Supports a number of built-in underpost global scripts and their preset life cycle events as well as arbitrary scripts
cron [options] [deploy-list] [job-list] Cron jobs management
fs [options] [path] File storage management, for default upload file
test [options] [deploy-list] Manage Test, for default run current underpost default test
monitor [options] <deploy-id> [env] Monitor health server management
help [command] display help for command