A virtual machine powered by Vagrant and provionned via Ansible to easily install OpenLocalization.
Install Virtualbox, Vagrant and Ansible.
On Mac OSX you can simply use Homebrew (and Homebrew Cask):
brew cask install virtualbox
brew cask install vagrant
brew install ansible
First install ansible roles :
ansible-galaxy install -r provisioning/requirements.txt
Then fetch the openl10n repository via git:
git clone https://github.com/openl10n/openl10n.git
or if you already have cloned it, just create the link to the correct location:
ln -s ../openl10n openl10n
Then launch the virtual machine via Vagrant:
vagrant up
To configure application, log in the virtual machine and go to the project root:
vagrant ssh
cd /var/www/openl10n.dev/current
vim app/config/parameters.yml
composer install
Finally, edit your /etc/hosts
to use the correct hostname:
# /etc/hosts
10.0.0.42 openl10n.dev
- Install front-end dependencies (node, sass, gulp)
- Automatically write the default
parameters.yml
on vagrant up - Launch composer install on vagrant up/provision