Hey all,
I'm trying make a script that will automate my local drupal installs. So far it can make the directories, set up the database, and use drush to install drupal + certain modules. I use MAMP PRO to set up my hosts, and I've gotten stuck at how to automate setting up a new host in the script. Any one know how I should approach this?
Thanks.

Comments

davidhernandez’s picture

The hosts would be created through the modification of config(s) files, so your script will need to do the same. There should be changes to either the main apache httpd.conf file, or it creates separate .conf files for each new host. Look and see what it does when you create one through the gui.