- Clone this repository
- Add gally plugin
git clone git@github.com:Elastic-Suite/gally-shopware-connector.git plugins/GallyPlugin
- Add Luma demo catalog plugin
git clone git@github.com:Elastic-Suite/shopware-lumage-sample-data-plugin.git plugins/LumaSampleData
- Start shopware
docker compose up -d # without traefik #docker compose -f compose.yml up -d # with `traefik`
- Install plugins
docker compose exec shopware composer config minimum-stability dev # Refresh plugin list from source docker compose exec shopware bin/console plugin:refresh # Install magento sample data docker compose exec shopware bin/console plugin:install MagentoLumaSampleDataPlugin docker compose exec shopware bin/console plugin:activate MagentoLumaSampleDataPlugin # Install Gally plugin docker compose exec shopware bin/console plugin:install GallyPlugin docker compose exec shopware bin/console plugin:activate GallyPlugin # Clear cache docker compose exec shopware bin/console cache:clear
- Install static analysis tools:
docker compose exec shopware composer require --dev friendsofphp/php-cs-fixer phpstan/phpstan
- You shopware backoffice should be accessible from http://localhost:8082/admin (or http://shopware.docker.localhost/admin with traefik)
-
Login with
admin
/shopware
-
Configure you store frontend from Sales channels > Storefront
- Entry point main navigation : Choose Luma category tree
- Edit domain to
localhost:8082
(orshopware.localhost
with traefik)
-
Configure gally plugin from Extensions > My extensions > GallyPlugin > Configure : enter your local gally instance url and credentials, there is the default value:
- Url:
https://gally.local/api
- Email:
admin@example.com
- Passwor
- Url:
-
Run static analyse tools :
docker compose exec shopware vendor/bin/php-cs-fixer fix --dry-run --diff custom/plugins/GallyPlugin/ docker compose exec shopware vendor/bin/phpstan --memory-limit=1G analyse -c custom/plugins/GallyPlugin/phpstan.neon
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Elastic-Suite/shopware-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published