Skip to content

Allows you to build a VirtualBox VM based on Vagrant for different Magento versions. Uses vagrant and required chef recipes, Magento

Notifications You must be signed in to change notification settings

madalinoprea/vagrant-magento-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal

Create a Vagrant configuration that offers ability to install different versions of Magento with minimum effort.

Tested for 1.8 alpha and 1.7 with sample data.

Setup Instructions

# Clone this git repo
git clone https://github.com/madalinoprea/vagrant-magento-vm.git
cd vagrant-magento-vm/

# Retrieve required cookbooks
git submodule update --init

# Review Vagrant, e.g change Magento version that is going to be installed
vagrant up

By default, Magento's url is magento.local and vm's ip is192.168.33.10. Please configure your hosts file accordingly:

192.168.33.10 magento.local

Credentials (configurable via chef):

User Password
MySQL root root
Admin admin m123123

Configuration Options

vagrant_magento.source.version
Specified Magento version that will be installed. Default: magento-1.8.0.0-alpha1
vagrant_magento.source.url
Base url used to download the zip files, we'll try to retrieve {url}/{version}.tar.bz2. Default: http://magentoversions.appspot.com
vagrant_magento.sample_data.install
Default: true. Downloads sample data provided by Magento.
vagrant_magento.sample_data.version
Default: 1.6.1.0
vagrant_magento.sample_data.url
Default: http://www.magentocommerce.com/downloads/assets
vagrant_magento.debug.enabled
Installs Magneto Debug. Default: true
vagrant_magento.n98-magerun.enabled
Installs n98-magerun cli tools for Magento from https://github.com/netz98/n98-magerun. Default: true

Available versions

Using default repository (http://magentoversions.appspot.com/index.html) contains the following version, these versions are available:

  • magento-1.4.2.0
  • magento-1.5.1.0
  • magento-1.6.2.0
  • magento-1.7.0.2
  • magento-1.8.0.0-alpha1 (default)

TODO:

  • Add support to enable Magento Developer Mode
  • Add support for secure domains
  • Add support for xdebug
  • Add support for Magento Enterprise
  • Add index for http://magentoversions.appspot.com to see available magento versions

About

Allows you to build a VirtualBox VM based on Vagrant for different Magento versions. Uses vagrant and required chef recipes, Magento

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published