Skip to content

vanWittlaer/S6AppTemplate

Repository files navigation

About

Basic setup for a Shopware 6 app server based on Symfony 6 and php 8.

Prepared for local development with ddev https://ddev.readthedocs.io/en/stable/

Registration/authentication etc. as in src/SwagAppsystem has been refactored from ShopwareLabs AppTemplate https://github.com/shopwareLabs/AppTemplate

Local Setup

  • git clone
  • cd into your project
  • adapt .ddev/config.yaml to your needs (project name, webserver type, PHP version, database version)
  • create & edit .env.local (see below)
  • run ddev start
  • ssh into your project ddev ssh
  • run composer install
  • run bin/console doctrine:migrations:migrate

.env Variables

Set these variables in your .env.local file

  • APP_URL: APP_URL=https://${DDEV_SITENAME}.ddev.site
  • APP_SECRET: to generate a new secret use the bin/console regenerate-app-secret command
  • DATABASE_URL: DATABASE_URL="mysql://db:db@db:3306/db"
APP_URL=https://${DDEV_SITENAME}.ddev.site
APP_SECRET=some_secret
DATABASE_URL="mysql://db:db@db:3306/db"

Note: You may want to remove ddev autogenerated variables in .env manually.

About

Shopware 6 App Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published