Installing in Demo mode on MacOS and Linux
Edit on GitHubStarting with the 202204.0 release, the following guide applies to both Intel and ARM architectures. You can install the demo shops of previous versions on ARM chips by following the steps from the Switch to ARM architecture technical enhancement guide.
This document describes the procedure of installing Spryker in Demo Mode on MacOS and Linux.
Install Docker prerequisites on MacOS and Linux
To install Docker prerequisites, follow one of the guides:
Clone a Demo Shop and the Docker SDK
-
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 202212.0-p2 --single-branch ./b2c-demo-shop
- Clone the B2B repository:
git clone https://github.com/spryker-shop/b2b-demo-shop.git -b 202212.0-p2 --single-branch ./b2b-demo-shop
-
Depending on the cloned repository, navigate into the cloned folder:
- B2C repository:
cd b2c-demo-shop
- B2B repository:
cd b2b-demo-shop
Make sure that you are in the correct folder by running the pwd
command.
- Clone the Docker SDK repository into the same folder:
git clone https://github.com/spryker/docker-sdk.git --single-branch docker
Configure and start the instance
- Bootstrap the local Docker setup for demo:
docker/sdk bootstrap
Once you finish the setup, you don’t need to run bootstrap
to start the instance. You only need to run it after:
- Docker SDK version update.
- Deploy file update.
- Once the job finishes, build and start the instance:
docker/sdk up
- Update the
hosts
file:
Follow the installation instructions in the white box from the docker/sdk bootstrap
command execution results to prepare the environment.
To get the list of the instructions, you can run docker/sdk install
after bootstrap
.
Depending on the hardware performance, the first project launch can take up to 20 minutes.
Endpoints
To ensure that the installation is successful, make sure you can access the configured endpoints from the Deploy file. For more information about the Deploy file, see Deploy file reference - 1.0.
Back-Office
The default credentials to access the Back Office are located inside /src/Pyz/Zed/User/UserConfig.php
.
RabbitMQ
To access RabbitMQ UI, use spryker
as a username and secret
as a password. You can adjust the credentials in deploy.yml
. For information about the Deploy file, see Deploy file reference - 1.0.
Getting the list of useful commands
To get the full and up-to-date list of commands, run docker/sdk help
.
Next steps
Thank you!
For submitting the form