Skip to content

vjaceslavsh/scandipwa-base

 
 

Repository files navigation

Welcome to ScandiPWA

This repository is a base repository that contains Docker environment for Magento ^2.3 and is dedicated for ScandiPWA theme development and ScandiPWA based project development.

Docker

Please refer to Docker and documentation docs

Modularity

The repository is based on Magento 2.3.0. All components and modules, except the further theme development must be managed by Composer

List of corresponding modules

  • scandipwa/catalog-graphql
  • scandipwa/cms-graphql
  • scandipwa/graphql
  • scandipwa/installer
  • scandipwa/menu-organizer
  • scandipwa/persisted-query
  • scandipwa/slider-graphql
  • scandipwa/source
  • scandipwa/slider
  • scandiweb/module-core

Quick start

  1. Make sure requirements are met
  2. Clone the repository
git clone git@github.com:scandipwa/scandipwa-base.git
  1. Set COMPOSER_HOME on your machine (you can obtain credentials using Magento2 Marketplace)
export COMPOSER_AUTH='{"http-basic":{"repo.magento.com": {"username": "REPLACE_THIS", "password": "REPLACE_THIS"}}}'
  1. Run the infrastructure
docker-compose up -d

NOTICE: Do the following steps only in case you need ScandiPWA DEMO

  1. Stop the application container
docker-compose stop app
  1. Recreate existing database
docker-compose exec mysql mysql -u root -pscandipwa -e "DROP DATABASE magento CREATE DATABASE magento;"
  1. Import DEMO ScandiPWA database:
docker-compose exec -T mysql mysql -u root -pscandipwa magento < deploy/latest.sql
  1. Recreate Docker infrastructure
docker-compose up -d --force-recreate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 44.2%
  • VCL 31.4%
  • Dockerfile 16.7%
  • PHP 4.7%
  • Makefile 3.0%