A command line tool for Reaction Commerce
Before you can use Reaction or
reaction-cli, you'll need to make sure you install the base requirements for your operating system.
After that, you can now install
npm install -g reaction-cli# oryarn global add reaction-cli
$ reaction --helpreaction <command> [options]Commands:init Create a new Reaction apprun Start Reaction in development modedebug Start Reaction in debug modetest [unit] Run integration or unit testspull Pull Reaction updates from Github and reinstall NPM packagesupdate, up Update Atmosphere and NPM packagesreset Reset the database and delete build filesbuild Build a production Docker image[Managed Platform Commands]register * Register an account with Reactionlogin * Login to Reactionlogout * Logout of Reactionaccount * Manage your Reaction Platform accountapps * Manage your app deploymentsdeploy * Deploy an appdomains * Add a custom domain name to a deploymentenv * Manage environment variables
Note: Commands marked with
* require being logged into the managed platform. Learn more: https://reactioncommerce.com/features#get-a-demo
git clone https://github.com/reactioncommerce/reaction-cli.gitcd reaction-cliyarn
To start a live reloading watcher that recompiles the code on file changes:
yarn run watch
Keep in mind that if you previously installed
reaction-cli from npm, you will need to uninstall it before that command will work. This is because it runs
npm link every time and that adds a symlink to the executable that goes in the same place as the npm install (which will throw an error).