Note : Still a work in progress.
// To quickly run
gradle run
- or -
// To create jar
gradle build
java -jar build/libs/cruxer-0.0.1.jar
-
development: serves web files fromfile:src/main/resources/web, so they can be modified without having to redeploy. This is currently the default. -
production: serves web files fromclasspath:/web/to keep everything self contained. To use, either setspring.profiles.active=productioninsrc/main/resources/application.ymlor run jar with-Dspring.profiles.active=production.
For the Email Service to work correctly, configure spring.mail.username and spring.mail.password located in src/main/resources/application.yml