Skip to content

Instantly share code, notes, and snippets.

@raybogman
Last active June 9, 2017 21:00
Show Gist options
  • Save raybogman/fcee84c72f86de9d22d089cb90b02eab to your computer and use it in GitHub Desktop.
Save raybogman/fcee84c72f86de9d22d089cb90b02eab to your computer and use it in GitHub Desktop.
Linux:
wget -qO- https://get.docker.com/ | sh
curl -L "https://github.com/docker/compose/releases/download/1.13.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
############################################################
Mac:
https://download.docker.com/mac/stable/Docker.dmg
############################################################
Windows
Start using Linux or Mac (still a windows fan, use then only Win10)
https://download.docker.com/win/stable/InstallDocker.msi
############################################################
Goto DevBox
https://magento.com/tech-resources/downloads/magento/configure/
############################################################
Create Keys
https://marketplace.magento.com/customer/accessKeys/list/
############################################################
Download && Unzip files
chmod 755 <all files>
############################################################
./m2devbox-init.sh
and/or
docker pull magento/magento2devbox-web:latest
docker pull mysql:5.6
docker pull magento/magento2devbox-varnish:latest
docker pull redis:3.0.7
############################################################
fix composer/config.json (if needed)
docker exec -it <id> /bin/bash
############################################################
./m2devbox-init.sh
############################################################
add url to M2 (if needed)
php bin/magento setup:store-config:set --base-url="http://dev.box:<port>/"
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
php bin/magento cache:flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment