- Open pom.xml and comment the spring-boot-starter-tomcat scope tag. The dependency should look like this (Only if you want to run the project in the IDE):
<dependency> <groupId>org.springframework.boot </groupId> <artifactId>spring-boot-starter-tomcat </artifactId> <!-- Comment in development environment --> <!-- <scope>provided </scope> --> </dependency>
- Open application.properties and add a tmp folder to host the documents you submit on print requests. Add a line like this:
documents.path=/path/where/u/want/the/files
- Use maven version 3 or greater to build the project.
To populate the database with some data just do: ``` curl -X POST localhost:8080/admin/seed ```
Under the folder scripts, one may find some scripts that are usefull and increase speed of development enviroment set up:
- ppdb - Database utils like drop and create, or most frequent select operations.
- ppdb-mac - MacOS version for ppdb.
- swagger - Script that generates REST API documentation. The server must be running.