-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ferng edited this page Apr 27, 2017
·
14 revisions
- Enter and review runs, as in a regular running log, not wanting to rely on my garmin and it's website to review past data many years hence
The application uses mongodb to store data, without it an error will be logged and the application will end (to be honest, as it's effectively a db front end it's pretty much useless without a db!)
- config.js: server port, database, log location
- build bundle.js (see below)
- copy everything to some directory
- ES6
- webpack (with babel) and webpack-dev-server for live reloading
- bunyan (testing)
- tape (logging)
- eslint (with google's style)
- ide (visual studio code): configuration in [github] (https://github.com/ferng/config/tree/master/visualStudioCode)
- public/bundle.js
npm webpack
- run mongodb
- start up server:
npm start npm run start-plain
- run dev-server
npm run web-dev
- go to the webpack dev-server [page] (http://localhost:8080/webpack-dev-server/)
npm run test-back
npm run test-front
npm test
- open .vscode/launch.json
- change "program" in "Single" configuration to point to the spec you want to run
- run "Single" in the visual studio code debugger
- change configuration if appropriate (see above)
- log file currently set to (runlog.log.json)