Vagrant box, with Ansible provisioning to setup a new eZ Platform project.
You need to have following installed:
If you are running Windows (with or without SSD), or Linux/Mac OS X with SSD , copy or symlink
If you are running Linux/Mac OS X without SSD, copy
DO NOT COMMIT THE
Notice that V in
Vagrantfile is case sensitive.
Local development setup
The local development is meant to be used in a vagrant provisioned box.
The provisioner for the project is ansible.
Once you have the prerequisites setup, you can run the
from you terminal to start the process up.
If you do not see an error message, go get yourself a cup of coffee or your favorite beverage, you deserve it.
If you start seeing the connection timeout after adding of the private key
default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying...
You should open up the Virtualbox, click the vm running (name should be along the lines of netgen....) and reset it (on OSX it is cmd+t). This is due to some weird bug somewhere on intersection of vagrant, virtualbox and this ubuntu cloud image. After the initial virtual machine build, you will not need to use this.
If vagrant starts complaining about locale and crashes the provisioning, in /etc/ssh/ssh_config (or equivalent) comment out
SendEnv LANG LC_*
Installing eZ Platform
Read the step by step guide on how to install eZ Platform inside the box:
Access via web browser
You can access whatever site you installed inside the box with the following URL in your browser:
Shell script will run from within the vm to provision the setup
Deploying to remote servers
ansible-playbook -i provisioning/inventories/production provisioning/production.yml -u ubuntu --sudo