Tuesday, December 1, 2015

Automate creating vhost and installing new rails project



A programmer must learn to automate mundane and iterative tasks to save time. Many technical and non technical people have understood the true power that can be achieved by automation.

I create personal vhosts for each different project, so I had certain tasks to follow every time when I would encounter something like this. Some months ago I wrote a ruby script that does all this. It reads the content of your vhost file in /etc/vhosts and creates a vhost and new rails project for each of those domain.

Link to Alchi_vhost