A complete demo environment powered by Vagrant using either Digital Ocean or Virtual Box as a provider.
This builds a virtual machine running Cent OS 6.7, MySql 5.6, PHP 7.0, Nginx 1.8, Apache 2.2 and Varnish 4.1 and installs Magento 2.0 complete with sample data. By default, Community Edition is installed, but this can be changed to install Enterprise Edition in the config.rb file for those who have access.
- Vagrant 1.7.4 or higher (installation instructions)
- Virtual Box (if used as provider)
- Digital Ocean API access (if used as provider)
- Magento Marketplace access credentials
- Verify you have all the required dependencies as listed above
- Clone this repository
- Copy the
etc/config.rb.sample
file toetc/config.rb
and update the placeholder values (values may be left unchanged for providers you do not plan on utilizing) - If you have Enterprise Edition access, set
MAGENTO_IS_ENTERPRISE
totrue
inetc/config.rb
- Run
vagrant up
to kick off virtual machine provisioning and install Magento 2. By default, Virtual Box is used as a provider. To use Digital Ocean, runvagrant up --provider digital_ocean
instead - Add an entry to your
/etc/hosts
file using the IP address and hostname output near end ofvagrant up
run - Load up your new demo site in a browser!
- There is currently no support for SSL in the virtual machine