使用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;">

原文地址:https://www.cnblogs.com/rongfengliang/p/9644726.html