@theuybv/deploy-ui-server-package
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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]

Readme

Keywords

Package Sidebar

Install

npm i @theuybv/deploy-ui-server-package

Weekly Downloads

18

Version

1.2.0

License

MIT

Unpacked Size

20.4 kB

Total Files

16

Last publish

Collaborators

  • tlimpanont