You only need 3 things on your local machine: git, docker and make
Follow the installation steps for your system.
-
Install docker
-
Install Docker Compose
-
Configure permissions
Installing the make command on linux
sudo apt-get update
sudo apt-get install -y make
You can install make by downloading the build-essential package, as follows
sudo apt install build-essential
Clone this repo
git clone https://github.com/jamacio/magento-cloud-docker.git
Go to the directory magento-cloud-docker
cd magento-cloud-docker
After running the build command, notice that a folder has been created: magento
make build
Maybe you need to inform username get it here: Authentication (repo.magento.com)
make magento-download
Install Application
make magento-install
Download sample data
make magento-sampledata
Magento clear
make magento-clear
Start Application
make up
Stop Application
make stop
Watch Application
make watch
make magento-composer updatemake magento-restore-db path-to-database-dump.sqlmake magento-clearmake magento-bash
Db url: http://localhost:8081/
Panel url: http://localhost/admin
login:
admin
password:
admin123