{"id":18400079,"url":"https://github.com/spryker-community/multi-factor-authentication","last_synced_at":"2025-09-12T06:36:37.543Z","repository":{"id":239589170,"uuid":"799945151","full_name":"spryker-community/multi-factor-authentication","owner":"spryker-community","description":"Hackathon team \"Authentication Alliance\" built this POC for a MFA tool for the Spryker backend","archived":false,"fork":false,"pushed_at":"2024-05-14T14:36:28.000Z","size":255819,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-16T03:17:58.837Z","etag":null,"topics":["hackathon","hackathon-may-2024","multifactor-authentication","spryker"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spryker-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-13T12:07:56.000Z","updated_at":"2024-08-07T19:40:44.000Z","dependencies_parsed_at":"2024-12-24T11:43:47.563Z","dependency_job_id":null,"html_url":"https://github.com/spryker-community/multi-factor-authentication","commit_stats":null,"previous_names":["spryker-community/multi-factor-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spryker-community%2Fmulti-factor-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spryker-community%2Fmulti-factor-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spryker-community%2Fmulti-factor-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spryker-community%2Fmulti-factor-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spryker-community","download_url":"https://codeload.github.com/spryker-community/multi-factor-authentication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248596025,"owners_count":21130620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hackathon","hackathon-may-2024","multifactor-authentication","spryker"],"created_at":"2024-11-06T02:29:32.382Z","updated_at":"2025-04-12T16:27:39.768Z","avatar_url":"https://github.com/spryker-community.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spryker B2B Demo Shop\n[![Build Status](https://github.com/spryker-shop/b2b-demo-shop/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/spryker-shop/b2b-demo-shop/actions?query=branch:master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/spryker-shop/b2b-demo-shop/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/spryker-shop/b2b-demo-shop/?branch=master)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)\n\n## Description\n\nSpryker B2B Demo Shop is a collection of Spryker B2B-specific features. It suits most projects as a starting point of development and can be used to explore Spryker.\n\n## B2B Demo Shop quick start\n\nThis section describes how to get started with the B2B Demo Shop quickly.\n\nFor detailed installation instructions, see [Installing Spryker with Docker](https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installing-spryker-with-docker.html) or [Installing with Development Virtual Machine](https://docs.spryker.com/docs/scos/dev/developer-getting-started-guide.html#installing-spryker-with-development-virtual-machine).\n\n### Prerequisites\n\nFor full installation prerequisites, see one of the following:\n* [Installing Docker prerequisites on MacOS](https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/docker-installation-prerequisites/installing-docker-prerequisites-on-macos.html)\n* [Installing Docker prerequisites on Linux](https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/docker-installation-prerequisites/installing-docker-prerequisites-on-linux.html)\n* [Installing Docker prerequisites on Windows](https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/docker-installation-prerequisites/installing-docker-prerequisites-on-windows-with-wsl2.html)\n\nRecommended system requirements for MacOS:\n\n|Macbook type\t|vCPU\t|RAM|\n|---|---|---|\n|15'|\t4\t|6GB|\n|13'|\t2\t|4GB|\n\n### Installing the B2B Demo Shop\n\nTo set up the B2B Demo Shop and its environment, do the following:\n\n1. Create a project folder and navigate into it:\n```bash\nmkdir spryker-b2b \u0026\u0026 cd spryker-b2b\n```\n\n2. Clone the B2B Demo Shop:\n```bash\ngit clone https://github.com/spryker-shop/b2b-demo-shop.git ./\n```\n\n3. Clone the Docker SDK:\n```bash\ngit clone git@github.com:spryker/docker-sdk.git docker\n```\n\n2. Set up a desired environment:\n  * [Setting up a development environment](#setting-up-a-development-environment)\n  * [Setting up a production-like environment](#setting-up-a-production-like-environment)\n\n#### Setting up a development environment\n\n1. Bootstrap the docker setup:\n\n```bash\ndocker/sdk boot deploy.dev.yml\n```\n\n2. If the command you've run in the previous step returned instructions, follow them.\n\n3. Build and start the instance:\n```bash\ndocker/sdk up\n```\n\n4. Switch to your branch, re-build the application with assets and demo data from the new branch:\n\n```bash\ngit checkout {your_branch}\ndocker/sdk boot -s deploy.dev.yml\ndocker/sdk up --build --assets --data\n```\n\n\u003e 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:\n\u003e - `--build` - update composer, generate transfer objects, etc.\n\u003e - `--assets` - build assets\n\u003e - `--data` - get new demo data\n\nYou've set up your Spryker B2B Demo Shop and can access your applications.\n\n\n### Setting up a production-like environment\n\n1. Bootstrap the docker setup:\n\n```bash\ndocker/sdk boot -s\n```\n\n2. If the command you've run in the previous step returned instructions, follow them.\n\n3. Build and start the instance:\n```bash\ndocker/sdk up\n```\n\n4. Switch to your branch in one of the following ways:\n\n  * Switch to your brunch, re-build the application with assets and demo data from the new branch:\n\n  ```bash\n  git checkout {your_branch}\n  docker/sdk boot -s\n  docker/sdk up --assets --data\n  ```\n\n  * Light git checkout:\n\n  ```bash\n  git checkout {your_branch}\n  docker/sdk boot -s\n\n  docker/sdk up\n  ```\n\n  \u003e 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:\n  \u003e - `--build` - update composer, generate transfer objects, etc.\n  \u003e - `--assets` - build assets\n  \u003e - `--data` - get new demo data\n\n5. Reload all the data:\n\n```bash\ndocker/sdk clean-data \u0026\u0026 docker/sdk up \u0026\u0026 docker/sdk console q:w:s -v -s\n```\n\n\nYou've set up your Spryker B2B Demo Shop and can access your applications.\n\n## Troubleshooting installation of the B2B Demo Shop\n\nThis section describes the most common issues related to the installation of the B2B Demo Shop.\n\nFor a complete troubleshooting, see [Troubleshooting Spryker in Docker issues](https://docs.spryker.com/docs/troubleshooting-spryker-in-docker-issues).\n\n**when**\n\nYou get unexpected application behavior or errors.\n\n**then**\n\n1. Check the state of the directory:\n```bash\ngit status\n```\n\n2. If there are untracked files (returned in red), and they are not necessary, remove them.\n\n3. Restart file synchronization and rebuild the codebase:\n```bash\ndocker/sdk trouble\ndocker/sdk boot -s deploy.dev.yml\ndocker/sdk up --build --assets\n```\n\n**when**\nYou do not see the expected demo data on the Storefront.\n\n**then**\n\n1. Open the [queue broker](http://queue.spryker.local) and wait until all the queues are empty.\n\n2. If the queues are empty, and the issue persists, reload the demo data:\n```bash\ndocker/sdk trouble\ndocker/sdk boot -s deploy.dev.yml\ndocker/sdk up --build --assets --data\n```\n\n\n\n## Installation of B2B Demo Shop with Docker\n\nFor detailed installation instructions of Spryker with Docker, see [Installing Spryker with Docker](https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installing-spryker-with-docker.html).\n\n## Glue API reference\n\nSee Glue API reference at [REST API reference](https://docs.spryker.com/docs/scos/dev/glue-api-guides/202108.0/rest-api-reference.html)\n\n## Contributing to the repository\n\nFor contribution guidelines, see [Code contribution guide](https://docs.spryker.com/docs/scos/dev/code-contribution-guide.html#opening-pull-requests)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspryker-community%2Fmulti-factor-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspryker-community%2Fmulti-factor-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspryker-community%2Fmulti-factor-authentication/lists"}