mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Docs] Add warning about restricting Symfony version before Sylius installation
This commit is contained in:
parent
cf824f52a3
commit
70d2229d85
2 changed files with 22 additions and 0 deletions
|
|
@ -47,6 +47,17 @@ the contents of that new file should look like the following snippet:
|
|||
|
||||
DATABASE_URL=mysql://username:password@host/my_custom_sylius_database
|
||||
|
||||
.. warning::
|
||||
Specific Sylius versions may support various Symfony versions. To make sure the correct Symfony version will be
|
||||
installed (Symfony 6.0 for example) use:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
composer config extra.symfony.require "^6.0"
|
||||
composer update
|
||||
|
||||
Otherwise, you may face the problem of having Symfony components of the wrong version installed.
|
||||
|
||||
After everything is in place, run the following command to install Sylius:
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
|
|||
|
|
@ -37,6 +37,17 @@ It will create a ``MyFirstShop`` directory with a brand new Sylius application i
|
|||
Beware! The next step includes the database setup. It will set your database credentials
|
||||
(username, password, and database name) in the file with environment variables (``.env`` is the most basic one).
|
||||
|
||||
.. warning::
|
||||
Specific Sylius versions may support various Symfony versions. To make sure the correct Symfony version will be
|
||||
installed (Symfony 6.0 for example) use:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
composer config extra.symfony.require "^6.0"
|
||||
composer update
|
||||
|
||||
Otherwise, you may face the problem of having Symfony components of the wrong version installed.
|
||||
|
||||
To launch a Sylius application initial data has to be set up: an administrator account and base locale.
|
||||
Run the Sylius installation command to do that.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue