Development Environment

The purpose of this environment is to ease the development process. We preconfigured a Virtual Machine just for you. The only thing you have to do is to install the requirements and the deployment will be done with only one command. Of course, using this development environment is by no means mandatory.

Requirements

Getting started

Install

If the provision fails, you can try to run ad hoc Ansible commands with a greater verbosity:

ansible-playbook -i .vagrant/machines/default/virtualbox/action_provision --private-key=~/.vagrant.d/insecure_private_key -u vagrant ansible/playbook.yml -vvvv

Usage

If you wish to reload configuration: vagrant provision

If you need to execute a root command, you can either use sudo or login as root the root user with su (password: vagrant).

If you wish to change the port used because they overlap with already used ports or whatever your reason is, check the configuration in the Vagrantfile.

Default configuration

The VM container is configured via Ansible:

PHP Environment:

Databases:

Git:

Shell aliases: run alias to see the available aliases.

Known bugs

It is possible that the update of the system and the composer install takes very long. For the later, you can drop the task and run it manually it usually takes less time and at least you have an idea of the progress. If you do so, you will have to run manually the tasks which have been configured after this command. Hopefully, it is just creating the database or updating it ;)