Click here to Skip to main content
15,890,282 members
Articles / DevOps
Tip/Trick

WordPress on Heroku

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
5 Nov 2017CPOL 7.7K   2   1
How I got WordPress running on Heroku

Introduction

I have been trying to get free hosting for an experimental WordPress installation, and this is how I achieved that.

Background

I've been looking for free hosting for my WordPress/PHP development experiments, and after about two days of trying to get regular WP to run on Heroku, the container platform, I discovered wordpress-12factor, a WP fork especially made for Heroku. The install process for wordpress-12factor automatically provisions a MySQL database for WP using the Heroku add-ons included in the wordpress-12factor install instructions. No further admin at all is required to get WP up and running on Heroku.

Using the Code

After following the Heroku Getting Started tutorial in the official documentation, I cloned wordpress-12factor and followed the excellent instructions on the GitHub page to install it to Heroku, I have now achieved what I wanted in about 20 minutes.

History

  • 5th November, 2017: First edition of this tip

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Founder Erisia Web Development
South Africa South Africa
I am a software developer in Johannesburg, South Africa. I specialise in C# and ASP.NET MVC, with SQL Server, with special fondness for MVC and jQuery. I have been in this business for about eighteen years, and am currently trying to master Angular 4 and .NET Core, and somehow find a way to strengthen my creative faculties.
- Follow me on Twitter at @bradykelly

Comments and Discussions

 
QuestionMessage Closed Pin
14-Apr-22 1:07
Gagan_Madhuramane14-Apr-22 1:07 
Answerdata security in cloud computing using aes under the heroku cloud Pin
Member 1472938228-Jan-20 20:06
Member 1472938228-Jan-20 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.