dokku-wordpress icon indicating copy to clipboard operation
dokku-wordpress copied to clipboard

Better way to install wordpress on dokku

Open pythdasch opened this issue 5 years ago • 4 comments

I did try the dokku wordpress, and a lot of bugs and administration was necessary.

This tutorial made the wordpress much better and stable: https://dev.to/jasminetracey/how-to-set-up-your-wordpress-site-on-dokku-24pj

pythdasch avatar Jul 16 '20 12:07 pythdasch

Sorry, I don't have a ton of time to read through that blog post. Could you post here the exact changes you'd want to see in this repo for your use case?

josegonzalez avatar Jul 16 '20 14:07 josegonzalez

@josegonzalez the idea was more for other users. It was more to say that nowaday there is no need to have a dokku repository as we can have dokku working perfectly with a fresh wordpress.

steps to install it :

  • create app and mariadb / mysql
  • on local, download wordpress, change config
  • push to dokku
  • Mount the storage for the three dirs: themes, plugins, uploads

and that's it, you have a wordpress working with latest version.

with this repository was hard to setup the permalinks, to upgrade, and so I though would be nice to share it. Maybe this repository could just be a readme

pythdasch avatar Jul 16 '20 15:07 pythdasch

Hi, a fellow dev here - I'm not associated with the project beyond a couple PRs, but I'm interested in continuing development on it. I read the article through and didn't really see much difference between the process described in the article vs what this repo does, and I respectfully disagree that "nowadays there is no need to have a dokku repository" as this repository actually improves on the article by automating a lot of the tedious stuff in the Makefile... although I have made some improvements that I plan on PR-ing shortly.

To that end, what bugs and administration did you encounter? What was hard about the permalinks? I'd like to help if I can.

gnowland avatar Sep 25 '20 10:09 gnowland

I'm not a php developer and I'm not also a wordpress fan, so my opinion was more about having a solution fast and running, and this article did it. The problem with the repository is that it's not up to date, and if you install it you'll see all the configurations problems, as SSH, permalinks installation, the best for you is to install it and go through all the errors if you want to.

pythdasch avatar Oct 01 '20 08:10 pythdasch