- Clone or download bookone from github repo
git clone https://github.com/dmitryblackwell/bookone.git - Make sure your JDK is downloaded and JAVA_HOME is setup correct.
- Install MySQL WorkBench or other RDBMS.
- Create new connection with username add password specified in
application.properties - Set up database using scripts in
db-scripts
To run this project without importing it to the IDE follow next steps:
- Firstly, you need to do basic setup.
- Open your command line and go to project location.
- Enter next command for windows:
or this one if you use linux:
mvnw spring-boot:run./mvnw.sh spring-boot:run - Wait until all dependencies are downloaded and enjoy project.
- Firstly, you need to do basic setup.
- Open you IDE and import BookONE as Maven Project.
- Wait until project is resolved and all dependencies are set.
- Run BookOneApplication class as java application.
- Enjoy.
To test your code run next maven command:
clean integration-test
It will also create report from JaCoCo in target/site/jacoco/index.html
Too see development history you can check ChangeLog.