Skip to content

Derroylo/shopware-workspace-sample

Repository files navigation

Shopware 6 workspace template for gitpod.io

Open in Gitpod

What is this?

This is an example workspace for Gitpod with the eCommerce System Shopware which aims to provide a fully usable workspace for development instead of just a simple sample.

Getting started

Use the Button "Open in Gitpod" above to start a new workspace based on this repo. The first start will take some time (around 10 to 15 minutes) as he needs to build the Dockerfile, start the services and install Shopware with some demo data. Afterwards you will see your IDE Instance and the Frontend of the Store should open in your Browser. To access the backend just append /admin to the url and login with the user admin and the password shopware.

Available services

Some additional services are already added via docker-compose.yml but you can add more any time.

  • MySQL - Database
  • Mailpit - email testing tool for developers
  • Redis - In-Memory Database used mostly for caching
  • PhpMyAdmin - Webinterface for MySQL
  • Adminer - Webinterface for MySQL
  • PhpCacheAdmin - Webinterface for different caching systems like redis, memcached etc.

Note: Not all services are active per default, you can select active services via gpt services select

Installed Tools

  • GPT - An extendable Tool for web development with gitpod
  • NVM - Select the active nodejs version

Documentation

Informations

  • During setup there might be some deprecation message shown. This is normal and can be ignored
  • Add /phpinfo to the url of the frontend (https://8000-xxxxx.ws-xx.gitpod.io/) to show the current used php version, active modules and settings
  • Add /xdebuginfo to the url of the frontend (https://8000-xxxxx.ws-xx.gitpod.io/) to show the current xdebug settings
  • Add /adminer to the url of the frontend (https://8000-xxxxx.ws-xx.gitpod.io/) to open Adminer, an alternative to phpmyadmin
  • The installation routine of shopware can be found under .devEnv/gitpod/scripts/shopware/install_demo.sh
  • To update the domain, which can change after workspace restart, run gpt shopware update_domain to set the new domain for the sales channels

Changelog

14.10.2023

  • Added adminer as alternative to phpmyadmin
  • Added xdebug info shortcut
  • Updated .gpt.yml for GPT 0.4.x
  • Corrected some problems with choosing nodejs version
  • phpmyadmin and phpcacheadmin wouldn´t start sometimes correctly

About

A workspace sample with Shopware for Gitpod.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages