Elkarte Vagrant Environment July 12, 2015, 01:26:56 pm Just threw together a Vagrant environment for working on Elkarte's source. Clone my repo, then clone the Elkarte repo inside it and "vagrant up". It will pre-populate the database, copy a basic Settings.php, and sync the sources/ folder (you can sync more by adding them to the Vagrant file and adding an "exclude=" flag to the rsync command in the provisioning script).This gives an environment that leaves the Elkarte Git repo untouched by the running Elkarte instance, but which gives instant results for changes to scripts in the sources/ directory.https://github.com/Ant59/elkarte-vagrantHope it's useful to someone. 6 Likes
Re: Elkarte Vagrant Environment Reply #1 – July 12, 2015, 03:07:31 pm awesome, thanks for sharing ! 3 Likes
Re: Elkarte Vagrant Environment Reply #3 – July 13, 2015, 12:47:25 am @ant59 have you heard of PuPHPet? 1 Likes
Re: Elkarte Vagrant Environment Reply #4 – July 14, 2015, 11:53:45 am Quote from: Joshua Dickerson - July 13, 2015, 12:47:25 am@ant59 have you heard of PuPHPet?I've seen it, but never used it. Is it just another provisioning manager like Puppet or Chef? 1 Likes
Re: Elkarte Vagrant Environment Reply #5 – July 14, 2015, 08:12:24 pm It is a GUI to create a provisioning script which uses Puppet. Take a look. Makes life easier. 1 Likes
Re: Elkarte Vagrant Environment Reply #6 – July 14, 2015, 10:55:56 pm Do you use Netbeans or PHPStorm?
Re: Elkarte Vagrant Environment Reply #7 – July 15, 2015, 12:42:15 am I'll take a look but I like the shell script I use vim.
Re: Elkarte Vagrant Environment Reply #8 – July 24, 2015, 02:14:37 pm I've updated the repo to exclude the sources directory in setting permissions during provisioning (else Git thinks the files have changed). Also added a php.ini to the provisioning so that display_errors is always on in the Vagrant development environment.