Skip to content
Daniel Kocherga edited this page Jun 25, 2014 · 8 revisions

Usage

First setup

Once boilerplate is configured, project members should do the following to setup it on their machines:

  • Execute the following commands from terminal to install git sub-modules:
$ git submodule init
$ git submodule update
$ vagrant up
  • Wait until it installs
  • Setup magento and PHPMyAdmin virtual hosts on computer (based on configured IP and Magento base URL). PHPMyAdmin virtual host is phpma.[magentohost.local], where [magentohost.local] should be replaced with configured magento host.
  • Install database and media (if configured)
$ vagrant ssh
(inside a VM)
$ cd /var/www/magento (or another configured source dir)
$ sudo ./setup/update_resources.sh
  • Visit website base URL to check if everything worked well

Database/media sync

If database/media sync is configured, developers could sync with latest dumps at any time using the following commands:

$ vagrant ssh
(now you are inside a VM)
$ cd /path/to/magento/root
$ sudo ./setup/update_resources.sh

VM setup update

Once VM configuration is changed by someone in the project (and puppet scripts are committed to the repository), other team memebers should run:

$ vagrant provision
Clone this wiki locally