Vagrant base config for installing and testing current Thelia CMS development (aka thelia 2)
This config is in beta and maybe can have some issues
Install Vagrant and virtualbox : http://docs-v1.vagrantup.com/v1/docs/getting-started/index.html
download vagrant ssh key :
$ wget https://raw.github.com/mitchellh/vagrant/master/keys/vagrant -O ~/.ssh/insecure_private_key
$ chmod 600 ~/.ssh/insecure_private_key
if you don't want to use the private key, comment this lines :
config.ssh.private_key_path = "~/.ssh/insecure_private_key"
config.ssh.max_tries = 10
then :
$ git clone --recursive https://github.com/lunika/thelia-vagrant-config.git
$ cd thelia-vagrant-config
$ vagrant up
wait while vagrant box is installing and finish the installation process at the mysql point (https://github .com/thelia/thelia/blob/master/Readme.md).
You can access Thelia at this url : http://thelia.local/index_dev.php
For better performance you can enable nfs shared folders. Change to true this 2 lines in Vagrantfile but before ensure that your system support NFS :
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => false)
config.vm.share_folder("v-web", "/var/www", "./www", :nfs => false)