Next generation Palles Gavebod
As default the application will load on localhost:8080. Se a running example on pg.demo.dbc.dk
// Build and install the applicationgit clonenpm installnpm run build// create config filemv config.example.js config.js// fill out the blanks in the config file.// NB! a lot of the services are restricted by DBC// Start the applicationnpm run serve
As New Relic is used by DBC A/S this application requires New Relic to be configured.
If you want to run the application but can't provide a New Relic configuration you can start the application with
NEW_RELIC_NO_CONFIG_FILE=true which will throw an error but wont crash your application.
Unit tests are placed with the modules and components in a tests folder
to run the tests:
npm run test
The selenium tests (found in the /selenium directory) are integration tests, and mainly run in an phantomjs instance.
to run tests:
npm run selenium