Skip to content
Ruslan Kyba edited this page Mar 6, 2017 · 17 revisions

Requirements

  • Mac OS X, Windows, or Linux
  • Yarn package
  • Node.js ??? or newer

Quick Start

1. Get the latest version

You can start by cloning one the latest versions (see Branches section) of ARc (Atomic React) on your local machine by running:

$ git clone -o arc -b master --single-branch \
      https://github.com/diegohaz/arc.git MyApp
$ cd MyApp

2. Run yarn install

This will install both run-time project dependencies listed in package.json file.

3. Run yarn dev

This command will build the app from the source files (/src) into the output /dist folder. As soon as the initial build completes, it will start the Node.js server with HMR on top of it.

http://localhost:3000/ — Node.js server
http://localhost:3001/ — HMR

Now you can open your app in browser and start developing.

Clone this wiki locally