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

1. Get the source code

You can get started by using either Yeoman generator (recommended) or by cloning the repository.

Using Yeoman

Install Yeoman and generator-arc. Then, run yo arc:

$ npm install -g yo generator-arc
$ yo arc

Cloning the repository

Just clone one of the ARc branches, remove or rename src and rename src-clean to src:

$ git clone -b master https://github.com/diegohaz/arc.git my-app
$ cd my-app
$ mv src src-example # or just rm -rf src
$ mv src-clean src

You will probably want to remove ARc git history and start a brand new repository:

$ rm -rf .git
$ git init

2. Install dependencies

$ npm install

3. Run the app

$ npm start # for master/redux
$ npm run dev # for redux-ssr 

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

http://localhost:3000 — Development server
http://localhost:3001 — Webpack assets server (for redux-ssr only)

Now you can open http://localhost:3000 in browser and start developing.

Clone this wiki locally