Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.28 KB

Sylius.md

File metadata and controls

49 lines (37 loc) · 1.28 KB

Sylius Logo.

Installation

Traditional

$ wget http://getcomposer.org/composer.phar
$ php composer.phar create-project sylius/sylius-standard project
$ cd project
$ yarn install
$ yarn build
$ php bin/console sylius:install
$ symfony serve
$ open http://localhost:8000/
composer create-project sylius/sylius-standard .

.env: DATABASE_URL="mysql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:3306/${DB_NAME}?serverVersion=8&charset=utf8mb4"

php bin/console sylius:install

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
# node -v
sudo npm install --global yarn
sudo yarn install
sudo yarn build

For more detailed instruction please visit installation chapter in our docs.

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