git clone git@git.jrc.no:open-source/internarena.gitnpm installnpm run dev
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.
Uses React, Redux and react-router.
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.
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.
npm test or npm run test:watch to run tests. All action creators
and reducers should be tested.
Jenkins automatically tests all pull requests. Commits to master
are automatically built and deployed to
intern.jrc.no.