1.0.0 • Published 4 years ago

generator-ditto-beta v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

alt text

Creates a brand-new spring boot app customized & deployable to multiple platforms within Fidelity.

Prerequisite:

Running the following command will open the .npmrc configuration file.

npm config edit

Copy the result of the following command into the .npmrc file.

curl -k -s -u <anumber>:<password> 'https://artifactory.fmr.com/api/npm/auth'

An example of the result is shown below:

_auth = YTU4MjQzMTpEWWEWERW2QUo0aE1zUASDTkVTcVhvZ0Z0dDY=
always-auth = true
email = For.Example@fmr.com

Also you will need to add these properties to the .npmrc configuration file:

http_proxy=http.proxy.fmr.com:8000
https_proxy=http.proxy.fmr.com:8000
config=http-proxy
update-notifier=false

Installation

npm install -g yo
npm install -g git+https://anumber@itec-stash.fmr.com/scm/ap124304/ditto-cli.git#master

Usage

yo ditto

Known issues: Installing on Alpine OPS image: 1. ENOENT issue: Find and remove dependent plugins and reinstall the package (Ref: https://github.com/mapbox/node-sqlite3/issues/866) a) npm ls gulp-util generator-ditto@0.1.0 /root/ditto-cli `-- (empty)

b) npm i generator-ditto

npm ERR! code E404 npm ERR! 404 Not Found: generator-ditto@latest

c) npm install -q
  1. EACCES: permission denied, open '/root/.config/insight-nodejs/insight-yo.json.34176613' - Make the new folder writable: (Ref: https://github.com/keystonejs/keystone/issues/1566) chmod g+rwx /root /root/.config /root/.config/insight-nodejs/