Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sylius EU

This is a draft for a Sylius EU compliant template for starting new projects, based on Sylius 2.2 and Symfony 7.4.

Features

  • General Data Protection Regulation (GDPR)
  • CMS pages, blocks, collections and media
  • EU VAT setup
  • EU billing and address information

Requirements

  • PHP 8.3 or newer
  • Composer 2
  • Node.js 20 and Yarn, or Docker with Compose

Upgrade notes

The former BitBag CMS integration has been replaced by the official sylius/cms-plugin. The Setono Terms plugin is not part of this Sylius 2.2 version because its available releases do not support Sylius 2.2. Projects that used its terms acceptance flow need a compatible replacement before deploying this upgrade.

The official CMS plugin collects mandatory, non-identifying technical telemetry. See its TELEMETRY_POLICY.md for the exact scope.

Installation

Docker

Development

Make sure you have installed Docker on your local machine. Execute docker compose up -d in your favorite terminal and wait some time until the services will be ready. You might want to see docker logs. Then enter localhost in your browser or execute open localhost in your terminal.

Production

The simplest way to deploy your Sylius store via Docker is via docker-compose.prod.yml configuration file. To do that you need to install Docker on your VPS and define MYSQL_PASSWORD environment. Then execute docker compose -f docker-compose.prod.yml up -d command in your terminal. The MYSQL_PASSWORD env will be automatically applied to the rest of the config.

When using a Virtual Private Server (VPS) we recommend having at least 2GB of RAM memory

Quick deploy:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

export MYSQL_PASSWORD=SLyPJLaye7

docker compose -f docker-compose.prod.yml up -d
docker compose -f docker-compose.prod.yml exec php bin/console sylius:fixtures:load default_eu --no-interaction

Troubleshooting

If something goes wrong, errors & exceptions are logged at the application level:

$ tail -f var/log/prod.log
$ tail -f var/log/dev.log

Contributing

Would like to help us and build the most developer-friendly eCommerce framework? Start from reading our Contribution Guide!

Stay Updated

If you want to keep up with the updates, follow the official Sylius account on Twitter and like us on Facebook.

Bug Tracking

If you want to report a bug or suggest an idea, please use GitHub issues.

Community Support

Get Sylius support on Slack, Forum or Stack Overflow.

MIT License

Sylius is completely free and released under the MIT License.

Authors

Sylius was originally created by Paweł Jędrzejewski. See the list of contributors from our awesome community.

About

EU complient Sylius template for starting new projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from Sylius/Sylius-Standard