juniorconsulting / internarena

React+Redux JrC intranet
Apache License 2.0
1 stars 1 forks source link

Internarena

Build Status Stories in Ready

Setup

The project should now be accessible from localhost:8080. As you make changes to the code, npm run dev will automatically rebuild and push the changes to the browser. No need to reload the page.

Architecture

Uses React, Redux and react-router.

Development

Linting, npm run lint, should report no errors or warnings before merging changes. Also, to make it easier to enforce codestyle, install an Editorconfig-plugin for your editor.

High CPU usage

If npm run dev is using a lot of resources, run npm install fsevents. This allows webpack-dev-server to be notified of changes to files, as opposed to polling.

Tests

npm test or npm run test:watch to run tests. All action creators and reducers should be tested.

Deployment / CI

Jenkins automatically tests all pull requests. Commits to master are automatically built and deployed to intern.jrc.no.