Zero configuration Let's Encrypt under Virtualmin

Submitted by christophe on Sat, 10/09/2016 - 09:50

It has been there for a while under Virtualmin, but I was hesitating on using the GUI configuration of Let's Encrypt from Virtualmin on an existing manual configuration. Let's Encrypt does not allow you to make any change afterwards, yielding this error :

Request failed : The native Let's Encrypt client was used previously on this system, and must be used for all future certificate requests.

Kickoff a Drupal 8 development environment

Submitted by christophe on Mon, 08/02/2016 - 10:01

Drupal 8 evolves quickly, and it's easy to get lost amongst the several documentations that have been written since the beta releases, Drush and PHP version needs upgrade. Some things that I have learned.

Option 1 : No VM setup on Mac OSX, via Homebrew

Okay, VM's are easier to maintain solutions, but in some situations you just don't have enough RAM for having Virtualbox running all the time.

VLAD (Vagrant LAMP Ansible Drupal)

Submitted by christophe on Thu, 19/11/2015 - 15:41

After trying the latest dev release of VDD (needed to run Drupal 8, because at the time of writing this, the stable release is stucked to PHP 5.3), I decided to give a try to VLAD, another Vagrant alike solution.
Main reasons : git and drush are not already installed on th VDD dev, and sometimes I got stucked on the vagrant provisioning.

First reaction after installing VLAD : Woooooow !

Here are some of the sweet goodies that awaits you : 

Let's Encrypt, free SSL certificates

Submitted by christophe on Tue, 10/11/2015 - 14:53

Be ready for the opening of free ninety-day lifetime certificates !

The objective of Let?s Encrypt and the ACME protocol is to make it possible to set up an HTTPS server and have it automatically obtain a browser-trusted certificate, without any human intervention. This is accomplished by running a certificate management agent on the web server.

https://letsencrypt.org/howitworks/technology/

Behat : affordable testing for small to medium client projects

Submitted by christophe on Sun, 08/11/2015 - 13:46

One of the many amazing sessions given at the DrupalCamp Leuven 2015 was about tests applied to small / medium sized projects. I was a bit sceptical, we all agree that testing should be part of any development process, but it can run you quickly out of budget on small projects. @pfrenssen has just proven the opposite.

Modern PHP

Submitted by christophe on Sat, 31/10/2015 - 08:18

The best PHP time saver book ever about the latest features of the language (PHP 5.5+), good practices and deployment. A must have for Drupal 8.

We talk here about OOP, namespaces, traits, generators, closure, PSR, components, optimization, deployment (Capistrano), profiling (XDebug, XHProf), unit tests (PHPUnit, Travis CI), dev environment (Vagrant), ...

O'Reilly book
Git repo

Tags

Access a Vagrant virtual host with xip.io

Submitted by christophe on Fri, 23/10/2015 - 15:19

This tip is for people that would access a Vagrant dev website from another VM (let's say to test another version of Internet Explorer via e.g. https://github.com/xdissent/ievms) or via another device than the host environment (smartphone, tablet, ...).

Vagrant allows you to quickly deploy dev environments on a Virtualbox VM.

xip.io will let you access your dev website from other devices (already tried to patch /etc/hosts on an iPad?)

Running Drupal 8 on Koding.com

Submitted by christophe on Sun, 15/03/2015 - 19:12

I wondered if there was a solution to play around with Drupal 8 on a Chromebook (super cheap hardware / "everything in the cloud model" with a 16G SSD).

After some reddit I discovered that Koding.com provides you freely, in the browser, a VM / terminal plus a text editor for PHP and other popular languages (Ruby, Python, ...).

Open up your Koding Terminal and cd in the Web directory (default, single docroot for a VM).

cd Web