A boilerplate for working with Magento 2.
- Run
git clone https://github.com/HoustonMagentoMeetup/magento2-boilerplate.git project_name
- Run
script/bootstrap
- Run
script/setup
- Run
script/server
Docs coming soon
The boilerplate is using a script pattern that @github uses, scripts to rule them all.
Command: script/bootstrap
Bootstraping sets up your docker environment which includes:
- Nginx
- Percona
- PHP7 FPM
- Magento 2
Command: script/setup
Setup takes your Magento 2 project and brings it into your bootstrapped environment.
Command: script/server
Command: script/server stop
The server sript lets you start and stop your environment so you can switch between multiple projects if needed.
Command: script/destroy
The destroy script will completely wipe your docker environment.
Command: script/magento
Allows you to run the Magento command line from your project root without having to ssh into the container.
Command: script/ssh
Allows you to SSH into the container.