使用Reaction cli 創建應用


默認簡單跑起來,我們可以直接使用docker,同時官方也為我們提供了cli 工具,可以快速的創建應用

安裝cli

npm install -g reaction-cli

初始化項目

reaction init

啟動

cd  reaction
reaction 

訪問

http://localhost:3000

當前cli完整命令

  init Create a new Reaction app (will create a new folder)
  config Get/set config values
  run Start Reaction in development mode
  debug Start Reaction in debug mode
  test Run integration or unit tests
  pull Pull Reaction updates from Github and install NPM packages
  update Update Atmosphere and NPM packages
  up Update Atmosphere and NPM packages
  reset Reset the database and (optionally) delete build files
  plugins Manage your Reaction plugins
  styles Manage your Reaction styles (css, less, stylus, scss)
  build Build a production Docker image
  register Register an account with Reaction
  login Login to Reaction
  logout Logout of Reaction
  whoami Check which account you are logged in as
  account Manage your Reaction Platform account
  keys Manage your SSH keys
  apps Manage your apps deployments
  deploy Deploy an app
  env Manage environment variables for an app deployment
  domain Set/unset a custom domain name for an app
  logs Get container logs for an app
  open Open an app deployment in your browser

參考資料

https://docs.reactioncommerce.com/docs/intro.html

<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">


注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
粤ICP备14056181号  © 2014-2021 ITdaan.com