Demonstrating Bloggest

In order to run the Bloggest web application, it requires that the Elasticsearch data store be up and running. The following command can be used to start Elasticsearch:

$ <Path to Elasticsearch>/bin/elasticsearch

When everything is put together, build and run the Bloggest, which you will be able to access using the http://<host>:<port> URL.

There are several ways to run a Spring Boot application, some of them are mentioned here:

  • Running the Spring Boot application main class using an IDE.
  • Building a JAR or WAR file using the following Maven command and then running:
$ mvn clean install$ java -jar target/<package-name>.[jar|war]
  • Running using a Spring Boot Maven plugin:
$ mvn clean spring-boot:run

After running, ...

Get Spring Boot 2.0 Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.