dquesada / webpack-react-example

webpack-react-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack-react-example

An example of using Gulp, Webpack, React, and Redux
Build Status
Github page link: https://narr.github.io/webpack-react-example/
Heroku site link: https://webpack-react-example.herokuapp.com/


Install and Run in Production Mode

Delete npm-shrinkwrap.json and Install node modules for production and Run

rm -rf ./npm-shrinkwrap.json
cp ./npm-shrinkwrap.prod.json ./npm-shrinkwrap.json
npm install --production
npm start

Install and Run in Development Mode

npm install -g gulp
npm install
gulp

Generate static pages and Run the server

npm install -g gulp
npm install
gulp gh-all

Docker

Prerequisites

Docker

docker-compose up -d

After that, open http://"docker-machine's IP" on a browser

About

webpack-react-example


Languages

Language:JavaScript 88.6%Language:CSS 9.1%Language:HTML 2.3%