• Stars
    star
    166
  • Rank 227,748 (Top 5 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created about 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Codebase for DIVE SPA using React and Redux

DIVE-frontend (dive-frontend)

DIVE Frontend Codebase

Installing packages

  1. Run npm install
  2. For packages requiring react@>=0.12.0 (griddle-react and svg-react-loader), find the corresponding packages in /node_modules and change the peerDependencies line in each package.json to "react": ">=0.12.0||0.14.0-rc1".

Running your project

The generated project includes a development server on port 3003, which will rebuild the app whenever you change application code. To start the server, run:

$ npm start

To run the server with the dev-tools enabled, run:

$ export API_URL=http://localhost:8081
$ export NODE_ENV=DEVELOPMENT
$ npm build
$ DEBUG=true npm start

To build for production, this command will output optimized production code:

$ npm run build