Delivery Plugin Example
The project uses Docker to run a local development environment. To install Docker, follow the steps below for your preferred OS.
Install Docker for Mac from https://docs.docker.com/docker-for-mac/install/.
Install Docker for Windows from https://docs.docker.com/docker-for-windows/install/.
Install Docker by running the following command:
curl -sSL https://get.docker.com/ | sh
Then install Docker Compose by following the instructions here.
Finally assign yourself to the Docker group:
sudo usermod -aG docker $(whoami)
To setup the project (install dependencies, etc), run the following command:
Afterwards enter your credentials and configuration in the newly created
Visiting in the browser
The project wil run at
http://localhost on the port you specified in your
Google Maps Key
The Delivery Plugin requires a Google Maps API key to run. You can get one here. Make sure both the
Google Maps Geocoding API are enabled.
When you visit the project in the browser, input the Google Api key in the field and press Save.
The following commands are available:
./mp.sh- List created containers (for this project).
./mp.sh up- Start the application.
./mp.sh down- Stop the application.
./mp.sh setup- Setup the application.
./mp.sh composer <args>- Run composer inside the app container.