Business of Open Technology

Development environment

You might have seen the example.sites.php file on the sites directory when setting up your Drupal installation. This is your new friend when setting up a multisite installation on Drupal.

The the g' old way of doing this was to create symlinks for each of the site into the sites directory. Like this:

Multisite installation with aliases

PhpStorm has plenty of settings you can adjust. Here are some ideas for adjustments you might want to do.

PHP home

Adjust PHP home to point to the PHP you want to use.

Adjusting PHP home.

On my previous blog post I described how to install Drupal development environment on Mac. In this one I will continue by installing debugging tools. This walkthrough will be for using Netbeans as your IDE, but tou can naturally apply these instructions to the IDE of your choice.

Prerequisites

  • Working development environment
  • Admin permission on your Mac
  • Xcode installed OR OS X install disc to install it

 

I've seen a lot of different local development setups on the computers of our own developers and students in our Drupal training. There are also plenty of blog posts, articles and HOWTOs on setting up PHP development environment on Mac. What I haven't yet found is a comprehensive guide on how to set up a clean and productive environment. So I decided to write one on my own. Unfortunately, setting up a clean environment that supports everything Drupal developers need, and does not get in the way of everything, is a bit hairy process. Many people prefer using MAMP, Macports or other methods, but OS X has almost everything you need already built in – and it's not THAT complicated to set the environment up. This post and some upcoming posts will describe what I consider to be an ideal development environment. Comments are definitely welcome.

Subscribe to RSS - Development environment

Get in touch

Helsinki

+358 20 7912 940  Emma Mäkinen

Riga

+371 29 849 696  Ernests Gabrans

Turku

+358 44 010 0667  Juha Niemi

Valmiera

+371 26 426 777  Mikelis Zalais