If you have installed Maven on your machine then use the below command:
mvn clean package
If you haven't insatlled Maven on your machine then use below command:
./mvnw clean package
Note: Go to root directory of the project and execute above command.
Before running Spring boot blog application, you need to create the MySQL database.
Use the below SQL database to create the MySQL database:
create database myblogDatabase name - myblog
> set your database and password User below Insert SQL statements to insert records into roles table:
> use .env file under App Resources to set Admin for AppUser below cmds:
> brew install redis
> brew services start redis
> redis-cli CONFIG GET portUse below command to run Spring boot application:
mvn spring-boot:run
Once you run Spring boot application, Hibernate will create the database tables autimatically.
Now, Spring boot blog application is ready to use.