Should they be ignored in the Git repo? Currently I would say yes if it's not template related?ĭoes this sound as a proper way or do I oversee some obstacles here or is there something which can be done in an easier way like the local setup for a new developer on an existing site.
#PLESK BASEX MANUAL#
Migrating stuff to the production site will be only possible with a manual task I guess, because there is no possibility for customising the pipeline on gitlab as far as I know?.The production page will not be updated automatically, this has to be done manually because this scenario varies from site to site. Working locally on stage branch and commiting will result in automatically updating the stage system on plesk.Gitignore will ignore everything except the theme folder and the plugin folder (only plugins which have custom changes) Local Git folder will be the wordpress folder.Create a repository on Gitlab and connect stage branch to Plesk stage site and main branch to Plesk production site.Setup new site on Plesk and download fresh stage state to local MAMP.So the Workflow (and included questions) may be the following: Plesk offers a connection between Git (Gitlab in our case) and Plesk so commits will be automatically fetched by Plesk's Stage and Production environments and are published depending on the settings. With the introduction of Git a local environment for every developers is needed (to locally develop and then push the changes to Git), to setup different sites from Plesk on a local environment I would choose MAMP?
![plesk basex plesk basex](https://docs.plesk.com/en-US/obsidian/reseller-guide/images/76980.png)
Sometimes (depending on the site owner) the most recent content is on the production site and sometimes on the stage site (site owner is updating content there) and must be transfered to production. The management of the sites is done with Plesk (Production and Stage version). Themes which will be used are completely self developed and therefore Git should be used as version control. Right now every change is done on the stage system, which is not good. Now Git should be used for version control.
#PLESK BASEX UPDATE#
I need to update a development environment which exists for multiple Wordpress sites (existing and new ones) and which uses Plesk.