- Install all the necessary dependencies.
> npm install
- Start the development server (changes will now update live in browser). It also run mock_server.js (Rest API mock)
> npm run start
Go to: http://localhost:3000/ (All requests matching url '/api/**' are proxied by webpack-dev-server and redirected to mock_server running on port 3001)
- Install all the necessary dependencies.
> npm install
- Compile React and bundle with webpack to '<project_root>/src/main/webapp/js/bundle.min.js'
> webpack
- Build timesheet.jar
> mvn clean install
- Run app
> java -jar <path_to_jar>/timesheet.jar
> npm run test
- Download and copy to bin/
selenium-server-standalone-3.0.0-beta4.jar from http://www.seleniumhq.org
geckodriver v0.10 from https://github.com/mozilla/geckodriver
- Start the development server.
> npm run start
- Run tests.
> nightwatch