A Shopware app infrastructure based on Symfony and NodeJs.
Setup your webserver to host this website on http://localhost:8889
.
Example caddy configuration:
http://localhost:8889 {
root * /Users/xyz/www/app-server/public
php_fastcgi 127.0.0.1:9000
file_server
encode zstd gzip
log {
output file /var/log/caddy/access.log
}
@static {
path_regexp \.(ico|css|js|gif|jpg|jpeg|png|svg|woff|woff2)$
}
header @static Cache-Control max-age=31536000
}
- Check the database URL in the
.env
file and change it to match your requirements. - Run
bin/console doctrine:database:drop --force && bin/console doctrine:database:create && bin/console doctrine:migrations:migrate
- Copy the
manifest.xml
into<shopware6root>/custom/apps/TestApp
. - Run
bin/console app:install TestApp
- Run
bin/console app:activate TestApp