-
Notifications
You must be signed in to change notification settings - Fork 293
Setup
Haz edited this page Mar 13, 2017
·
17 revisions
You can get started by using either Yeoman generator (recommended) or by cloning the repository.
Install Yeoman and generator-arc. Then, run yo arc
:
$ npm install -g yo generator-arc
$ yo arc
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
$ npm install
$ 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.
Special thanks to @kybarg and @protoEvangelion for helping to write this Wiki. Please, feel free to edit/create pages if you think it might be useful (also, see #33)