How to deploy magento?

On the local server doing a project on magento 2 using the sample-data (for convenience).
In the future you need to prodakshin version without sample-data, with the ability to code on the LAN and merge in the productions.

What is the best way to implement?
July 2nd 19 at 17:54
1 answer
July 2nd 19 at 17:56
In production you will need to put Magento from scratch and install extensions written by you. If you are going to change the structure of database configuration values by default, it should be implemented in the install/upgrade scripts to migrate code database has been updated to the desired state.
Yes, the base modules are manipulated, they're just.

With this approach, you need to put each module/theme update separately and also separately, from which bombs are there other ways? - meggie commented on July 2nd 19 at 17:59
: so, place your project in git, differ is only the base. - August80 commented on July 2nd 19 at 18:02
: I'm a little googled approaches, what do you say about this ? - meggie commented on July 2nd 19 at 18:05
: Yes, the normal approach - August80 commented on July 2nd 19 at 18:08

Find more questions by tags Magento