Installation for Linux
⚠️ Note: This guide has been deprecated as the release of Reaction 2.0. The latest installation guide can be found here.
Install prerequisites
Install Node
Follow the instructions at Node.js site for the latest long-term support (LTS) version, 8.
Note: Reaction is currently not compatible with Node 9.
Install Build Tools and Package Requirements
For Ubuntu/Debian
apt-get update
apt-get install -y --no-install-recommends build-essential bzip2 curl ca-certificates git python
For CentOS/RHEL
yum groupinstall "Development Tools"
Install Meteor
curl https://install.meteor.com/ | sh
Install Reaction
Install the Reaction command-line interface (CLI)
# install CLI
npm install -g reaction-cli
Create your first Reaction project
# clone Reaction, install NPM dependencies
reaction init
# change directory into new Reaction project
cd reaction
If you don't want Reaction to be installed in the default reaction
directory you can
specify a directory like
reaction init my-new-reaction-project
Start Reaction
To start Reaction, run the reaction
command
# start Reaction
reaction
# or
reaction run
Note: The first run can take a while as it downloads dependencies. This is especially true if you are not in North America.
The initial admin user for the site is auto generated, and displayed in your console (or see: env variables section to default these) By default the username will be :admin@localhost
and the password will be: r3@cti0n
Congrats! Now you've created your first Reaction store. View the store by going to http://localhost:3000 in your favorite browser.
To terminate reaction
use CTRL-c
.
To learn more about the Reaction command-line-client visit the CLI docs
To learn how to manage your store as an admin user visit the admin documentation
To learn how to customize Reaction visit the Customization Guide
last_tested: Dec-8-2017