Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.23 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.23 KB

Redux Boilerplate

Redux Boilerplate with Webpack, Babel, SASS, mocha, istambul and express on board

Credits to Christoph von Gellhorn. This boilerplate is based on webpack-boilerplate

Requirements

You only need node.js pre-installed and you’re good to go.

Download

Download in current directory

$ curl -L -o master.zip https://github.com/Bernhelm/redux-boilerplate/archive/master.zip && unzip master.zip && rm master.zip && mv ./redux-boilerplate-master/{.,}* ./ && rm -r ./redux-boilerplate-master

Setup

Install dependencies

$ npm install

Development

Run the local webpack-dev-server with livereload and autocompile on http://localhost:9000/

$ npm start

Deployment

Build the current application

$ npm run build

If you're not familiar with webpack, the webpack-dev-server will serve the static files in your build folder and watch your source files for changes. When changes are made the bundle will be recompiled. This modified bundle is served from memory at the relative path specified in publicPath.