Answer the question
In order to leave comments, you need to log in
Correct and structured information on deploying projects on wp from locale to hosting?
Hello everyone, I’m slowly getting rid of shit-methods in my work and I wanted to try to deploy projects from a local server to a combat one using git, I set up ssh, git is on the server by default, please share links or experience on how to properly deploy a project (not a big one) ), folder hierarchy, which files in git ignore, and so on. And now I’m deploying either through site backups and deploying everything through akeeba, or through phpstorm edits directly, but I want to get away from this. Thank you all in advance.
PS: Perhaps there are more advanced methods, you need exactly the one that will allow for an already completed project - merge it to yourself, edit it, and upload it back.
Answer the question
In order to leave comments, you need to log in
I was tormented with the deployment of WP. because too many settings are stored in the database. And you can't run them through the git. And if you also need to change the domain - this is a complete PPC (if anyone has worked with Monstroid, they understand what I mean). Look towards other CMS. For example, on Drupal 8, all settings (all without exception). can be ported using config files (YML) via git. If desired, you can install a couple of contributory modules, after which the structure and content can also be transferred through config files (but this is necessary in special cases).
Your main shit method is WP itself.
Evaluating the quality of your method is easy. How to compare them. Measure time, number of actions and risks.
Using a version control system is a good solution. They just don't edit in production. Thus there is a unidirectional movement of the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question