@bluecadet/cadet

2020-02-15

@bluecadet/cadet

null

👨‍🚀</g-emoji> cadet <g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji>"><g-emoji class="g-emoji" alias="man_astronaut" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f680.png">👨‍🚀</g-emoji> Cadet <g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji>

Installation

npm install -g @bluecadet/cadet

Usage

Commands

new-theme

Instantiating a new Project

When starting off a new project...

  • run terminus build:project:create ...
  • clone new github repo locally
  • create new local DB (rememeber the name of the DB)
  • run cadet pull --init
  • run cadet pulland pull db only
  • run cadet new-site
  • run cadet init-site
  • commit changes
  • run drush cexand commit changes
  • run cadet new-themeto create new FE theme
  • TODO: run cadet new-themeagain if you want to create a specific BE theme
  • commit changes
  • run cadet ci-update --incTestConfigto add the latest ci files and changes and base test files
  • commit changes
  • TODO: Setup RaspberryPi with stuff.....

Installing a new Project locally

When starting local development on a new project...

  • clone new github repo locally
  • create new local DB (rememeber the name of the DB)
  • run cadet pulland pull db only
  • run composer install
  • run npm install
  • run cadet new-site
    • There should be nothing to commit, and site should be ready to go! <g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji>

Development notes

Messaging Colors

  • Interactives (QOA): chalk.cyan('text')
  • Warning/Critical Interactives (QOA): chalk.yellow.bold('text')
  • Status/Updates: chalk.blue('text')(when appropriate, use ...before and after message)
  • Process Complete, OK: chalk.green('text')
  • Fail, Alert: chalk.white.bgRed('text')
  • Warning: chalk.yellow('text')

以上是 @bluecadet/cadet 的使用教程帮助文档。


上一篇:@fredfogerty/js-cli
下一篇:@bluecadet/bcdb
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章
暂无相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部