-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation / README] Simplified installation guide #8664
Conversation
Please don't merge now, the production part is not ok. But actually when running php bin/console sylius:install --env prod The installer loads sample data in the database. I don't think this is relevant in a production environment. In my opinion:
To my eyes, the simplest installation guide for a newcomer should look like this: InstallationYou need composer to install PHP packages and yarn to install JS packages. $ composer create-project sylius/sylius-standard my-sylius-shop && cd my-sylius-shop
$ php bin/console sylius:install
$ yarn install && yarn run gulp
$ php bin/console server:start Alternatively, you can use Vagrant for your initial setup. Then:
To help you get familiar with the Sylius interface, we populated some sample products, taxons, orders, etc. Production When you're ready to go live, reset your database: php bin/console sylius:remove:sample-data Then please refer to Symfony's documentation to properly setup URL rewriting to What's your opinion? I think the installation part should target experienced Symfony developers as well as people that have very basic knowledge of PHP and want to quickly setup a fully functionnal online shop. |
@bpolaszek When running |
Hi @CoderMaggie, F*ck, you're right! Loading sample data for environment dev.
Warning! This action will erase your database.
Continue? (y/N) I read too fast, actually, I thought I did not have a choice. When I read this, I understood that if I choose N, the whole installation process stops, so I systematically chose Y or Ctrl+C. My bad. |
Now, it's good for review :) |
$ wget http://getcomposer.org/composer.phar | ||
$ php composer.phar create-project sylius/sylius-standard project | ||
$ cd project | ||
$ composer create-project sylius/sylius-standard my-sylius-shop && cd my-sylius-shop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MySyliusShop
?
Or even just acme
?
Thanks Ben! |
@vzenix can you also include the output of |
Btw. make sure you're using PHP 7.1+ |
@pamil Thanks. i change PHP 7.0 to php 7.1 and it's work, next error is an overflow of memory (PHP memory_limit=128M), i change to -1 for testing and the install works. |
Hello there,
I suggest some minor changes in the README. When looking at the installation part, I found some confusing points:
I also changed the order of the sentences in the intro to conclude with "Enjoy being an eCommerce Developer again!" instead of having it somewhere in the middle.
What's your opinion?