-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
Daniel Kocherga edited this page Jun 25, 2014
·
8 revisions
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
- Install Vagrant, Virtualbox and
nfs
(if not yet installed). - Run VM setup:
$ 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
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
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