What’s Hugo? Hugo introduces itself as a “Fast & modern static site engine”, with the aim to make the web fun again. After ages of CGI scripts evolution, easy and attractive CMSes, it looks like static page are back in fashion. Initially made popular by Jekyll a couple of years before, Hugo is one of the last additions to the family. It’s open source, written in Go, with a handful of themes, it’s easy to install and use.
OpenShift is Red Hat’s Platform-as-a-Service (PaaS) that allows developers to quickly develop, host, and scale applications in a cloud environment. It has decent documentation and relatively steep learning curve. It also provides free hosting + free MySQL DB up to 1 GB, which is aweosome! After installing Ruby and RHC - Openshift’s client tool, by following these steps, you can start creating a Java web application following these steps. Habit@weave Habit@weave is a web application for the control and monitoring smart homes and wearable devices.
Here https://github.com/atsamour/Heroku-java-example you can find a sample Java web project for Heroku PaaS cloud. You can also run it locally with only JRE and Maven installed, as it doesn’t requre a seperate application container. It evaluates Heroku’s open source with embedded Tomcat. To run locally First you have to git pull the repo to your PC, then build the application running this command from the local project folder: :::term $ mvn package And then you just run the application by using the java command: :::term $ java -jar target/dependency/webapp-runner.jar target/*.war If everything worked correctly, your application should be accessible at localhost:8080.