GithubHelp home page GithubHelp logo

kraal-spryker / b2c-demo-shop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spryker-shop/b2c-demo-shop

0.0 0.0 0.0 337.1 MB

Spryker B2C Demo Shop based on the Spryker Commerce OS

Home Page: https://spryker.com/

License: Other

Shell 0.01% JavaScript 0.99% PHP 72.50% TypeScript 1.81% HTML 0.22% Dockerfile 0.02% SCSS 6.68% Twig 17.77%

b2c-demo-shop's Introduction

Spryker B2C Demo Shop

Build Status Scrutinizer Code Quality Minimum PHP Version

Description

Spryker B2C Demo Shop is a collection of Spryker B2C-specific features. It suits most projects as a starting point of development and can be used to explore Spryker.

B2C Demo Shop quick start

This section describes how to get started with the B2C Demo Shop quickly.

For detailed installation instructions, see Installing Spryker with Docker or Installing with Development Virtual Machine.

Prerequisites

For full installation prerequisites, see one of the following:

Recommended system requirements for MacOS:

Macbook type vCPU RAM
15' 4 6GB
13' 2 4GB

Installing the B2C Demo Shop

To install the B2C Demo Shop:

  1. Create a project folder and clone the B2C Demo Shop and the Docker SDK:
mkdir spryker-b2c && cd spryker-b2c
git clone https://github.com/spryker-shop/b2c-demo-shop.git ./
git clone [email protected]:spryker/docker-sdk.git docker
  1. Set up a desired environment:

Setting up a development environment

To set up a development environment:

  1. Bootstrap the docker setup:
docker/sdk boot deploy.dev.yml
  1. If the command you've run in the previous step returned instructions, follow them.

  2. Build and start the instance:

docker/sdk up
  1. Switch to your branch, re-build the application with assets and demo data from the new branch:
git checkout {your_branch}
docker/sdk boot -s deploy.dev.yml
docker/sdk up --build --assets --data

Depending on your requirements, you can select any combination of the following up command attributes. To fetch all the changes from the branch you switch to, we recommend running the command with all of them:

  • --build - update composer, generate transfer objects, etc.
  • --assets - build assets
  • --data - get new demo data

You've set up your Spryker B2C Demo Shop and can access your applications.

Setting up a production-like environment

To set up a production-like environment:

  1. Bootstrap the docker setup:
docker/sdk boot -s
  1. If the command you've run in the previous step returned instructions, follow them.

  2. Build and start the instance:

docker/sdk up
  1. Switch to your branch in one of the following ways:
  • Switch to your brunch, re-build the application with assets and demo data from the new branch:
git checkout {your_branch}
docker/sdk boot -s
docker/sdk up --assets --data
  • Light git checkout:
git checkout {your_branch}
docker/sdk boot -s

docker/sdk up

Depending on your requirements, you can select any combination of the following up command attributes. To fetch all the changes from the branch you switch to, we recommend running the command with all of them:

  • --build - update composer, generate transfer objects, etc.
  • --assets - build assets
  • --data - get new demo data
  1. Reload all the data:
docker/sdk clean-data && docker/sdk up && docker/sdk console q:w:s -v -s

You've set up your Spryker B2C Demo Shop and can access your applications.

Troubleshooting installation of the B2C Demo Shop

This section describes the most common issues related to the installation of the B2C Demo Shop.

For a complete troubleshooting, see Troubleshooting Spryker in Docker issues.

when

You get unexpected application behavior or errors.

then

  1. Check the state of the directory:
git status
  1. If there are untracked files (returned in red), and they are not necessary, remove them.

  2. Restart file synchronization and rebuild the codebase:

docker/sdk trouble
docker/sdk boot -s deploy.dev.yml
docker/sdk up --build --assets

when You do not see the expected demo data on the Storefront.

then

  1. Open the queue broker and wait until all the queues are empty.

  2. If the queues are empty, and the issue persists, reload the demo data:

docker/sdk trouble
docker/sdk boot -s deploy.dev.yml
docker/sdk up --build --assets --data

Installation of B2C Demo Shop with Docker

For detailed installation instructions of Spryker with Docker, see Installing Spryker with Docker.

Glue API reference

See Glue API reference at REST API reference.

Contributing to the repository

For contribution guidelines, see Code contribution guide.

b2c-demo-shop's People

Contributors

dereuromark avatar stereomon avatar oliwier-spryker avatar tamasnyulas avatar gerner-spryker avatar abitskil avatar philintv avatar nikita-lysenko avatar vol4onok avatar lmanzke avatar ehsanmx avatar andrew-maslov avatar demkos avatar bm13kk avatar tobi812 avatar a-sabaa avatar asonunique avatar egrebenikov avatar sergeirybalko avatar romanhavrylko avatar dmitrylymarenko avatar dmiseev avatar devromans avatar alexanderm91 avatar gechetspr avatar ilyakubanov avatar dimitriytsemma avatar kraal-spryker avatar freddiefrantzen avatar dsavin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.