Installing in Development mode on MacOS and LinuxEdit on GitHub
This document describes how to install Spryker in Development Mode on MacOS and Linux.
Installing Docker prerequisites on MacOS and Linux
To install Docker prerequisites, follow one of the guides:
Installing Spryker in Development mode on MacOS and Linux
Follow the steps to install Spryker in Development mode:
Open a terminal.
Create a new folder and navigate into it.
Depending on the desired Demo Shop:
- Clone the B2C repository:
git clone https://github.com/spryker-shop/b2c-demo-shop.git -b 202108.0 --single-branch ./b2c-demo-shop
- Clone the B2B repository:
git clone https://github.com/spryker-shop/b2b-demo-shop.git -b 202108.0 --single-branch ./b2b-demo-shop
Depending on the repository you’ve cloned, navigate into the cloned folder:
- B2C repository:
- B2B repository:
Make sure that you are in the correct folder by running the
image:with the PHP image compatible with the current release of the Demo Shop:
- Clone the Docker SDK repository:
git clone https://github.com/spryker/docker-sdk.git --single-branch docker
- Bootstrap local docker setup:
docker/sdk bootstrap deploy.dev.yml
Once you finish the setup, you don’t need to run
bootstrap to start the instance. You only need to run it after you update the Docker SDK or the deploy file.
- Update the
hostsfile: Follow the installation instructions in the white box from the
docker/sdk bootstrapcommand execution results to prepare the environment.
You can run
docker/sdk install after
bootstrap to get the list of the instructions.
- Once the job finishes, build and start the instance:
Depending on the hardware performance, the first project launch can take up to 20 minutes.
To ensure that the installation is successful, make sure you can access the configured endpoints from the Deploy file. See Deploy file reference - 1.0 to learn about the Deploy file.
To access RabbitMQ UI, use
spryker as a username and
secret as a password. You can adjust the credentials in
Getting the list of useful commands
To get the full and up-to-date list of commands, run
For submitting the form