- Clone this repository
$ git clone https://github.com/enaqx/flux-boilerplate
- Change directory to your new shiny boilerplate
$ cd flux-boilerplate
- Remove git folder
$ rm -rf .git
- Init your git repository
$ git init
- Install Node dependencies
$ npm install
- Build your new shiny project for the first time
$ npm run build
- Check development web-server
$ npm start
- Test if everything is OK to start work
$ npm test
- Proceed to http://localhost:8080/app/
- Update
package.json
to match your desires - Update
README.md
text to show the awesomeness of your new cool shiny project - Simplest step: add components, actions, stores, style it sexually
- Run in production:
$ npm run production
- ...
- Profit!
│
├─── .gitignore
├─── README.md
├─── package.json
├─── server.js
├─── webpack.config.js
├─── app/
├─── ├─── index.html
│ ├─── css/
│ ├─── images/
│ ├─── js/
│ │ ├─── actions/
│ │ ├─── components/
│ │ ├─── constants/
│ │ ├─── dispatcher/
│ │ ├─── stores/