Skip to content

Vagrant machine provionned via Ansible to easily install openl10n

Notifications You must be signed in to change notification settings

openl10n/openl10n-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenLocalization Vagrant

A virtual machine powered by Vagrant and provionned via Ansible to easily install OpenLocalization.

Requirements

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

Installation

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

TODO

  • Install front-end dependencies (node, sass, gulp)
  • Automatically write the default parameters.yml on vagrant up
  • Launch composer install on vagrant up/provision

About

Vagrant machine provionned via Ansible to easily install openl10n

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published