Skip to content
Haz edited this page Mar 12, 2017 · 17 revisions

Requirements

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

Quick Start

1. Get the latest version

You can start by cloning one of 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

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

3. For master/redux: run yarn start

It will start the development server with HMR on top of it.

http://localhost:3000/ — Development server

3. For redux-ssr: run yarn dev

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

http://localhost:3000/ — development server
http://localhost:3001/ — Webpack assets server

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

Clone this wiki locally