composer create-project -s dev sylius/sylius-standard sylius
Which installs the sylius standard in a new folder, named
sylius
cd sylius
php app/console sylius:install
Running the server
app/console server:run
In order to see the shop, access the web/app_dev.php
file via your web browser.
How I installed INTL extension
I've managed to get intl extension
installed using the following instructions
How I fixed database for Mac + MAMP
In your app/config/config.yml
add unix_socket
doctrine:
dbal:
driver: %sylius.database.driver%
host: %sylius.database.host%
port: %sylius.database.port%
dbname: %sylius.database.name%
user: %sylius.database.user%
password: %sylius.database.password%
charset: UTF8
unix_socket: "%sylius.database.unix_socket%" # only when using MAMP
And add it into your ```app/config/parameters.yml
# This file is auto-generated during the composer install
parameters:
sylius.database.driver: pdo_mysql
sylius.database.host: localhost # by default MAMP uses localhost
sylius.database.port: 8888 # by default MAMP uses 8888
sylius.database.name: sylius # your own database name you've created in MAMP phpmyadmin
sylius.database.path: null
sylius.database.user: root
sylius.database.password: root # this is the default MAMP password
sylius.database.unix_socket: /Applications/MAMP/tmp/mysql/mysql.sock # only when using MAMP
Memory limit problem Then I had a memory limit problem.
Which I fixed by doing:
vi /etc/php.ini
Then changed
memory_limit = 1G
Pressed esc and then ctrl-z and again ctrl-z
Then did
php app/console sylius:install
Glad I'd helped you :)