Giter Site home page Giter Site logo

ajspryker / suite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spryker-shop/suite

0.0 0.0 0.0 276.55 MB

Spryker Shop Suite based on the Spryker Commerce OS

Home Page: https://spryker.com

License: MIT License

Shell 0.13% PHP 96.02% HTML 0.27% JavaScript 1.48% TypeScript 0.15% Twig 1.95% SCSS 0.01%

suite's Introduction

Spryker Suite

Build Status Minimum PHP Version

License: MIT

Vagrant Installation

In order to install the Shop Suite on your machine, you can follow the instructions described in the link below:

For DevVM based installation instructions, see About the Installation Guides.

If you encounter any issues during or after the installation, see Troubleshooting article.

Docker installation

Docker installation

For detailed installation instructions of Spryker in Docker, see Getting Started with Docker.

For troubleshooting of Docker based instances, see Troubleshooting.

Prerequisites

For the installation prerequisites, see Docker Installation Prerequisites.

Recommended system requirements for MacOS:

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

Installation

Run the commands:

mkdir suite && cd suite
git clone https://github.com/spryker-shop/suite.git ./
git clone [email protected]:spryker/docker-sdk.git docker

Production-like environment

  1. Run the following commands right after cloning the repository:
docker/sdk boot -s

Please, follow the recommendations in output in order to prepare the environment.

docker/sdk up
  1. Git checkout with assets and importing data:
git checkout your_branch
docker/sdk boot -s
docker/sdk up --assets --data

Optional up command arguments:

  • --assets - build assets
  • --data - get new demo data
  1. Light git checkout:
git checkout your_branch
docker/sdk boot -s

docker/sdk up
  1. Reload all the data:
docker/sdk clean-data && docker/sdk up && docker/sdk console q:w:s -v -s

Developer environment

  1. Run the commands right after cloning the repository:
docker/sdk boot deploy.dev.yml

Please, follow the recommendations in output in order to prepare the environment.

docker/sdk up
  1. Git checkout:
git checkout your_branch
docker/sdk boot -s deploy.dev.yml
docker/sdk up --build --assets --data

Optional up command arguments:

  • --build - update composer, generate transfer objects, etc.
  • --assets - build assets
  • --data - get new demo data
  1. If you get unexpected application behavior or unexpected errors:

    1. Run the command:
    git status
    1. If there are unnecessary untracked files (red ones), remove them.

    2. Restrart file sync and re-build the codebase:

    docker/sdk trouble
    docker/sdk boot -s deploy.dev.yml
    docker/sdk up --build --assets
  2. If you do not see the expected demo data on the Storefront:

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

    2. If the queue is empty but the issue persists, reload the demo data:

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

Troubleshooting

No data on Storefront

Use the following services to check the status of queues and jobs:

  • queue.spryker.local
  • scheduler.spryker.local

Fail whale

  1. Run the command:
docker/sdk logs
  1. Add several returns to mark the line you started from.
  2. Open the page with the error.
  3. Check the logs.

MacOS and Windows - files synchronization issues in Development mode

  1. Follow sync logs:
docker/sdk sync logs
  1. Hard reset:
docker/sdk trouble && rm -rf vendor && rm -rf src/Generated && docker/sdk sync && docker/sdk up

Errors

ERROR: remove spryker_logs: volume is in use - [{container_hash}]

  1. Run the command:
docker rm -f {container_hash}
  1. Repeat the failed command.

Error response from daemon: OCI runtime create failed: .... \\\"no such file or directory\\\"\"": unknown.

Repeat the failed command.

suite's People

Contributors

dereuromark avatar stereomon avatar oliwier-spryker avatar tamasnyulas avatar dmiseev avatar gerner-spryker avatar limeeugenia avatar demkos avatar alexanderm91 avatar voitovtihran avatar asonunique avatar vol4onok avatar zssamoylov avatar ehsanmx avatar asaulenko avatar kraal-spryker avatar philintv avatar a-sabaa avatar valerio8787 avatar matweew avatar gechetspr avatar asmarovydlo avatar artemkosatov avatar lmanzke avatar pushokwhite avatar tliokos avatar m7moud avatar abitskil avatar ole-gi avatar ruslan05 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.