http://karmaforgods.herokuapp.com/#/
To optimize the Karma Documentation application for production, run:
./mvnw -Pprod clean package
This will concatenate and minify the client CSS and JavaScript files. It will also modify index.html
so it references these new files.
To ensure everything worked, run:
java -jar target/*.war
Then navigate to http://localhost:8080 in your browser.
To launch this application's tests, run:
./mvnw clean test
Unit tests are run by [Karma][] and written with [Jasmine][]. They're located in src/test/javascript/
and can be run with:
npm test
UI end-to-end tests are powered by [Protractor][], which is built on top of WebDriverJS. They're located in src/test/javascript/e2e
and can be run by starting Spring Boot in one terminal (./mvnw spring-boot:run
) and running the tests (gulp itest
) in a second one.
Not done yet, thought!