Magento 2 codebase now lives in folder. You must run an additional command to install Magento 2!
Vagrant Setup for Magento 2 install. All prerequisites setup and running.
Installs all requisites for Magento 2. Utilizes Ubuntu 14.04.
You can reference the Magento2 installation guide here.
VirtualBox is an open source virtualizer, an application that can run an entire operating system within its own virtual machine.
- Download the installer for your laptop operating system using the links below.
- VirtualBox for Windows Hosts
- VirtualBox for OS X hosts
- VirtualBox for Linux hosts (requires that you pick your distro)
- Run the installer, choosing all of the default options.
- Windows: Grant the installer access every time you receive a security prompt.
- Mac: Enter your admin password.
- Linux: Enter your root password if prompted.
- Reboot your laptop if prompted to do so when installation completes.
- Close the VirtualBox window if it pops up at the end of the install.
Vagrant is an open source command line utility for managing reproducible developer environments.
- Download the installer for your laptop operating system using the links below.
- Vagrant for Windows hosts
- Vagrant for OS X hosts
- Vagrant for Linux hosts (requires that you pick your distro)
- Run the installer, choosing all defaults.
- Reboot your laptop if prompted to do so when installation completes.
After Vagrant and Virtualbox are setup, run the following commands to install the Dev Box.
Clone the Repository
git clone https://github.com/ryanstreet/magento2-vagrant.git
Navigate to the folder
cd /path/to/magento2-vagrant/
Install Magento 2 Repo
git submodule init
git submodule update
(Optional) Add Github Personal Access Token
Read this guide to get a personal access token. Once you have created the token, open up the Vagrantfile
and place the token here:
githubToken = ""
Note: If you did not enter a personal access token, Composer will not run automatically. You will have to run it yourself to finish installation.
Run Vagrant Command
vagrant up
Other Info
Database Username: root
Database Password: (none)
Database Name: magento
URL of Instance: http://192.168.33.10/magento2/
Host File Configuration: 192.168.33.10 www.magento2.dev magento2.dev
Any and all feedback is welcome. Please let me know of any issues you may find in the bug tracker on github. You can find it here.