Prerequisites
-
Php :8.1 or above
-
Wamp – UniserverZXV (Recommended) (or) Xampp, etc..
-
Composer
- Set the php configuration settings
- In Uniserver Click “php” menu->”Edit selected configuration file”
-
Enable php extension gd, exif, fileinfo, intl and mbstring
-
Set the Memory limit above “1024M” and Date-timezone set “Europe/Warsaw”
- Mysql version above 8.0
Install Sylius Project
-
Set the file path where you need to install the “MyFirstShop”. For example I am installing in my Uniserver www file inside the new file
-
Open this path in visual studio code in above click file ->open folder in browser click the file where the new file is stored in my case i created in www folder in UniserverZXV
-
In explorer you can see the new file getting display
-
At the top click the terminal ->new terminal
-
At the down you can see powershell opened with file path of new
-
Now type the comment “composer create-project sylius/sylius-standard MyFirstShop”
-
The installation take a while and the catched get clear give status ok
-
After that go to your MyfirstShop folder in look for “.env” folder but this value in .env folder and run the next step
DATABASE_URL=mysql://root:root@127.0.0.1/sylius_%kernel.environment%
-
Then change direcotry to installed folder “MyFirstShop” then run the command “php bin/console sylius:install”
-
- after this step type yarn install it log for a while then type yarn build for building app
- after this open cmd and type symfony serve it shows the lik http://127.0.0.1:8000 copy paste in browser
-
Leave a Reply
You must be logged in to post a comment.