Posts

Showing posts from 2016

Upgrading to Grails 3.2.0 from Grails 2.3.7 with Spring Security and Deployment to Tomcat7

In this post I detail how to upgrade from grails 2.3.7 to grails 3.2.0 with spring security and Deploy a war file to Tomcat7. Setting Up Development Environment Download Grails 3.2.0 from here . Download Oracle JDK 8 Update 101. Optionally download Gradle from here  (other wise for building war file you will need to use grails gradle war). Make sure your JAVA_HOME and GRAILS_HOME are set properly before continuing. Setting Up Production Environment (Tomcat7) Download Oracle JRE 8 Update 101 Ensure Java version is Java 8 Update 101 if not use this command on ubuntu sudo update - alternatives -- config java Modify the JAVA_HOME setting in /etc/default/tomcat7 to the java 8 path as below JAVA_HOME=/usr/lib/jvm/java-8-oracle/ Migrating Grails 2 application files to Grails 3 The first step in migrating to Grails 3 is to make a new grails 3 app done by the following: grails create-app YOUR_APP_NAME This will create a project structure for your g...

Deployment By Hardware

In this post I detail how to use IoT hardware to deploy software. Here is what is needed to setup an IoT deployment A Jenkins Server with Internet connectivity and a job to build and deploy software. A Gmail or Office 365 email account (Jenkins email account). A IFTTT account IoT Hardware, This can be any of the following: Tablet (iOS or Android). Smartphone (iOS or Android). Android Wear Amazon Echo IoT button, I highly recommend Particle's Internet Button  since it's hackable and has an led display to indicate when deployment is be done. Jenkins Settings On the Jenkins server, install the poll-mailbox-trigger-plugin . Once the plugin add the poll mailbox trigger using the Jenkins email account and ensure in the advance options add the line "SubjectContains=" followed by the subject of your email you want Jenkins to trigger a build (ie. SubjectContains=BuildAndDeploy). Save and test your changes (you should be able to trigger the build with...