@zaneray/node-setup
v0.0.13
Published
Script for installing nvm, avn, and nodejs on developers computers
Downloads
8
Maintainers
Keywords
Readme
CONCEPT
@see https://zaneray.atlassian.net/wiki/spaces/ZR/pages/839548939/Base+Repositories
- provides an NPMJS executable module (NPX module) @zaneray/create-repo
- uses respositories in the ZaneRay Templates project at Bitbucket as a basis to create client repositories
- creates client repositories in
/Users/Shared/cloud/${client}
REQUIREMENTS
- bash (available in OSX)
- gettext (install with Brew https://docs.brew.sh/Installation, brew install gettext)
- git (install with Brew, brew install git)
- nodejs18 or greater
USAGE
- in a Terminal session with nodejs18 or greater, execute the following command and follow the prompts
npx @zaneray/create-repo
TEMPLATE REPOSITORY REQUIREMENTS
bitbucket-pipelines.yml - for deployment from Bitbucket to the target platform
On the Bitbucket Repository, in the Description field, a CSV with MENU_NAME,PROJECT_SUFFIX
-- MENU_NAME is presented in the prompts when running the
npx @zaneray/create-repo
command-- PROJECT_SUFFIX is concatenated with the CLIENT for the new repository name, CLIENT-PROJECT_SUFFIX
OPTIONAL - _setup/special-sauce (permissions 777) - will be executed post template repository cloning
OPTIONAL - README.md - will be output at the end of the process
OPTIONAL - .env-sample - CLIENT=${CLIENT} will be set