This project allows me to test all the Sylius plugins I have developed.
Install Docker by following this link : https://docs.docker.com/engine/installation
Start by cloning this repository.
Then copy the file .env.template
to a file named .env
. For instance:
cp .env.template .env
Next, make sure that there is no application running on port 80, then start all the Docker containers with the following commands:
docker-compose up -d
Enter your web container with docker exec :
docker exec -ti sylius_plugin_web bash
Install dependencies :
composer install
Install Sylius :
bin/console sylius:install
Install JS libraries using Yarn :
yarn install
yarn build
bin/console assets:install --ansi
Rebuild cache for proper display of all translations :
bin/console cache:clear
bin/console cache:warmup
- Shop : http://sylius-plugin.localhost
- Back-office : http://sylius-plugin.localhost/admin
- PHPMyAdmin : http://pma.sylius-plugin.localhost
- Mailcatcher : http://mailcatcher.sylius-plugin.localhost
- Traefik : http://traefik.sylius-plugin.localhost