Simple golang build and deploy script

There are many ways to build and deploy a golang application, the best method I have found so far is to use code ship which I will cover in a future article. The simplest method is to push your code to version control on your local development environment. Then log into the production server and run a script on the server which completes the following steps: Syncs the code from version control Complies the code Stops the application via the upstart script Moves the code to the production location Starts the application via the upstart script. [Read More]

Setup a basic golang build on ubuntu

One of the most simple ways to get started with serving a golang web application is to set-up the golang build environment on the server. This allows you to push your code to version control on your local development environment and then sync it down and build it on the server before deploying it. It should be noted that this is not the recommended approach in many cases and using a service like code ship is my preferred method but can be slightly more complex to configure so to get you up and running this method can be very convenient. [Read More]