Git Product home page Git Product logo

scandipwa-base's Introduction

Welcome to ScandiPWA

Docker Cloud Build Status Codacy Badge

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.

Demo

You can easily access demo simply clicking here

Docs

Project docs are available on docs.scandipwa.com

Docker

For Docker details please refer to Docker

Theme

For ScandiPWA Theme details please refer to theme repository

Modularity

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

Dependencies

Quick start

  1. Make sure requirements are met
  2. Clone the repository
git clone [email protected]: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. Generate selfsigned ssl certificates with (more details here )
make cert
  1. Pull and run the infrastructure
docker-compose -f docker-compose.yml -f docker-compose.local.yml -f docker-compose.ssl.yml pull
docker-compose -f docker-compose.yml -f docker-compose.local.yml -f docker-compose.ssl.yml 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 -f docker-compose.yml -f docker-compose.local.yml -f docker-compose.ssl.yml up -d --force-recreate

Media

  1. Download media

  2. Put archive into the src/pub/media folder (if mounted)

  3. Extract archive tar -zxvf scandipwa_media.tgz

License

FOSSA Status

scandipwa-base's People

Contributors

alfredsgenkins avatar eli-l avatar fossabot avatar raivisdejus avatar ybutrameev avatar

Watchers

 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.