Create a local development environment – Part 1

developmentUnfortunately, I don’t have the skills to be a developer. But in my line of work as a SysOp engineer, I need a local development environment on a regular basis to test stuff myself.

In two simple posts I will explain the tools you need and how to set them up to create a fully functional local development environment yourself. I’m doing this on a Mac and although the Windows and Linux setup is of course a bit different, this setup can work on all popular operating systems.

Let’s see what we need.

As said I’m using a Mac (with macOS Mojave) and this is what I’m using and recommending for your local development:

Just download and install all software from the links, only the Homestead installation needs some pointers (below). I’ve created a ‘Code’ directory in my home directory which I’m using for my development code. Our code is on GitHub. Put the project code in the ‘Code’ directory from the terminal:

$ git clone https://github.com/OrganisationeName/projectname ~/Code/projectname

Install Homestead from the terminal:

$ vagrant box add laravel/homestead
$ git clone https://github.com/laravel/homestead.git ~/Homestead
$ cd ~/Homestead
$ git checkout v7.18.0
$ bash init.sh

Let’s set it up next post!

Complete series: part 1 and part 2. Plus a little addendum.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.