- Install Java 11 JDK
- Install IntelliJ IDEA
- In IntelliJ IDEA, open the project folder
- Click Add Configuration... . Add a new Maven configuration with
- Working directory: (Project folder)
- Command line:
spring-boot:run -Dspring-boot.run.fork=false
- Open File -> Project structure. Ensure Project SDK and Project language level are set to 11.
- Run project via IntelliJ with the created configuration
- Optional: Run
npm run-script watch
in project directory to immediately update UI when JS files are changed - Open
http://localhost:8080/
in your browser
To run a production build locally (minifies JavaScript), add PRODUCTION_BUILD=true
to Maven configuration's environment variables.
mvn test
runs tests for the Java backendnpm test
runs tests for the frontend
Shipwrecks is hosted at Heroku ( https://shipwrecks.cc/ ). Pushing to master
triggers Heroku to deploy a new version after CI has passed.