@theuybv/deploy-ui-server-package
Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker instance. This instance is deployed to Heroku via heroku:container push and heroku:container release.
Last updated 3 months ago by tlimpanont .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @theuybv/deploy-ui-server-package 
SYNC missed versions from official npm registry.

deploy-ui-server-package

Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker instance. This instance is deployed to Heroku via heroku:container push and heroku:container release.

Required envs:

Heroku API key is needed to do heroku CLI stuffs (Account Settings)

  • HEROKU_API_KEY

BitBucket OAuth integrated applications related

  • BITBUCKET_OAUTH_KEY
  • BITBUCKET_OAUTH_PRIVATE

BitBucket OAuth 2.0

  • BITBUCKET_OAUTH_REFRESH_TOKEN

Which branch is pushed to CI?

  • CI_BRANCH (default set by CodeShip, omitted in CI context)

The name of HEROKU APP you which to create (Account Settings)

  • APP_NAME (try to prefix it with business label e.b. beton-)

oclif Version Downloads/week License

Usage

$ npm install -g @theuybv/deploy-ui-server-package
$ deploy-ui-server-package COMMAND
running command...
$ deploy-ui-server-package (-v|--version|version)
@theuybv/deploy-ui-server-package/1.2.0 darwin-x64 node-v12.14.0
$ deploy-ui-server-package --help [COMMAND]
USAGE
  $ deploy-ui-server-package COMMAND
...

Commands

deploy-ui-server-package deploy

Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker instance.

USAGE
  $ deploy-ui-server-package deploy

OPTIONS
  -h, --help                                                     show CLI help
  -v, --version                                                  show CLI version

  --APP_NAME=APP_NAME                                            (required) The name of HEROKU APP you which to create
                                                                 (Account Settings) (try to prefix it with business
                                                                 label e.b. 'beton-'

  --BITBUCKET_OAUTH_KEY=BITBUCKET_OAUTH_KEY                      (required) [BitBucket OAuth integrated applications
                                                                 related](https://bitbucket.org/account/user/%7B4e80d35c
                                                                 -0d52-40fb-aa4e-ce81b2ff2d18%7D/api)

  --BITBUCKET_OAUTH_PRIVATE=BITBUCKET_OAUTH_PRIVATE              (required) [BitBucket OAuth integrated applications
                                                                 related](https://bitbucket.org/account/user/%7B4e80d35c
                                                                 -0d52-40fb-aa4e-ce81b2ff2d18%7D/api)

  --BITBUCKET_OAUTH_REFRESH_TOKEN=BITBUCKET_OAUTH_REFRESH_TOKEN  (required) [BitBucket OAuth integrated applications
                                                                 related](https://bitbucket.org/account/user/%7B4e80d35c
                                                                 -0d52-40fb-aa4e-ce81b2ff2d18%7D/api)

  --CI_BRANCH=CI_BRANCH                                          (required) (default set by CodeShip, ommitted in CI
                                                                 context)

  --HEROKU_API_KEY=HEROKU_API_KEY                                (required) (https://dashboard.heroku.com/account) is
                                                                 needed to do heroku CLI stuffs (Account Settings)

  --HEROKU_WORKFLOW_NAME=HEROKU_WORKFLOW_NAME                    (required) [default: concrete-apps-workflow] The name
                                                                 of the heroku workflow to trigger a step in the
                                                                 pipeline

  --ORGANIZATION_NAME=ORGANIZATION_NAME                          (required) [default: theuybv] The slug name of the
                                                                 organization bitbucket account

  --SERVER_FOLDER_PATH=SERVER_FOLDER_PATH                        [default:
                                                                 /Users/theuylimpanont/Development/JBM/deploy-ui-server-
                                                                 package/SERVER]

  --SERVER_REPO_NAME=SERVER_REPO_NAME                            (required) [default: concrete-plant-graphql-server] The
                                                                 name of repo of the back-end server project

DESCRIPTION
  Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker 
  instance.
       This instance is deployed to Heroku via heroku:container push and heroku:container release.

deploy-ui-server-package json2env

Convert json config file in to key=value .env file

USAGE
  $ deploy-ui-server-package json2env

OPTIONS
  -h, --help                       show CLI help
  -v, --version                    show CLI version
  --configFilePath=configFilePath  [default: /Users/theuylimpanont/Development/JBM/deploy-ui-server-package/config.json]
  --json=json
  --outputFilePath=outputFilePath  [default: /Users/theuylimpanont/Development/JBM/deploy-ui-server-package/.env]

Current Tags

  • 1.2.0                                ...           latest (3 months ago)

16 Versions

  • 1.2.0                                ...           3 months ago
  • 1.1.12                                ...           4 months ago
  • 1.1.11                                ...           4 months ago
  • 1.1.10                                ...           4 months ago
  • 1.1.9                                ...           4 months ago
  • 1.1.8                                ...           5 months ago
  • 1.1.7                                ...           5 months ago
  • 1.1.6                                ...           5 months ago
  • 1.1.5                                ...           5 months ago
  • 1.1.4                                ...           5 months ago
  • 1.1.3                                ...           5 months ago
  • 1.1.2                                ...           5 months ago
  • 1.1.1                                ...           5 months ago
  • 1.1.0                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
  • 0.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |