This is a set of scripts to setup a development environment for Magento 2
-
Clone repository:
git clone [REPOSITORY_URL] vagrant-magento2
-
Rename Vagrantfile.local.sample
cd vagrant-magento2 cp Vagrantfile.local.sample Vagrantfile.localHere you can change some of the virtual machine configurations, such as vm name/ip/cpus/ram.
-
Init vagrant environment
vagrant up
-
Add the following line to your hosts file in the host machine
33.33.33.30 magento2.localhostAssuming you didn't modify VM ip in the Vagrantfile.local
-
Admin
- URL: http://magento2.localhost/admin
- Username: admin
- Password: Magento2
-
Mysql
- User: root
- No password needed