Release and Rollback with Robo 06 Jan 2016

I’ve been looking for a release management tool for a while now. There are quite a lot of tools to do this but I just couldn’t get my head into writing XML for most of them. I decided to take a look at Robo and see what I could do. Since it’s all written in php and can be included in any project with composer it’s dead easy to get to grips with. My RoboFile.php consists of the following commands: setup - Creates basic directories for use. Use $site to setup path variable. composer:build - Run composer install in your...

Read more | Add a comment

Fun with Sculpin 28 Dec 2015

After migrating my blog over to Sculpin I’ve slowly been tweaking things here and there. Over the past few days I’ve added the following: Static social media links to post titles Posted time ago on homepage Comment counts after read more link Gulp all the things It’s been quite a lot of fun adding all these features. They all touch a wide range of services and different parts of the site. Static social media links These are built with free icons converted into a font and then displayed in a span tag wrapped in a link to the various different...

Read more | Add a comment

Personal Development Is Key 23 Dec 2015

When I decided to leave my last job I had a lot of thoughts running through my head. I knew that moving to WunderUK would be a big change and challenge but I figured it was worth a shot. Of all the thoughts that ran through my head at the time (hell they still do) it was the thought of personal development. Let’s rewind a bit. For the past decade I’ve had time line of goals, I’ve not stuck to them accurately, sometimes I’d make a big change before a deadline and sometimes after. It’s a great way for me...

Read more | Add a comment

Easy Auto Renewal with Letsencrypt 20 Dec 2015

After reading a lot of different docs for letsencrypt I couldn’t find an easy way of auto renewing my domains simply. So after I’ve compiled what I’ve found so far. Add the following to your nginx conf block block: location /.well-known/acme-challenge/ { alias /var/www/mikebell.io/.well-known/acme-challenge; try_files $uri =404; } Then add the following to crontab as root: 0 0 1 * * letsencrypt certonly --webroot -w /var/www/mikebell.io/ -d mikebell.io --renew-by-default The --renew-by-default is key here since it means that it runs without being interactive.

Read more | Add a comment

New Blog-ish 19 Dec 2015

I’ve finally moved my blog from Ghost to Sculpin as you can probably see. It’s all flat file html now which is generated via jenkins. I’m glad to be working with Jenkins again since I never really got on with Bamboo. I have quite a nice setup now. When I push a markdown post to the main repo it then triggers a build in jenkins which generates the css and html before copying it all to the webroot. The theme is a modified version of Uno which I used on my Ghost blog. I’ve stripped out a load of stuff...

Read more | Add a comment

Subscribe via RSS