WordPress Deployment with Multi-Site Configuration from scratch
-
Hello folks,
I have now trying for hours to set up an continuous integration pipeline with WordPress on Bluemix (Cloud Foundry Buildpack).
My process is the following:I) Create a new Cloud Foundry App
II) Push composer.json
III) Run composer installation script
-> Install wordpress from johnpbloch/wordpress
-> Install wordpress plugins from public
-> Install own plugins / child theme via cp command
-> Move my customized config (wp-config.php) to wordpress root dir
IV) Migrate database from development server to new ContainerMy problem with this process is the installation of the customized wp-config. As we are using a multi-site approach for our website. If I try to define the settings for the multi-site at the wp-config-file shipped with cloud foundry app I get several database errors telling me that the application can not be found.
Is there any way to setup an multi-site network at installation time instead of going through the common post-installation process?
I can’t edit the config once it is pushed with the cloudfoundry app (or at least I don’t want).I would really appreciate any help.
Best,
ZuSePS: Other approach would be to run the post-installation setup within the composer skript, but I don’t know if it’s possible to execute all commands via commandline 🙁
The topic ‘WordPress Deployment with Multi-Site Configuration from scratch’ is closed to new replies.