Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / DevOps

WordPress on Heroku

0.00/5 (No votes)
5 Nov 2017CPOL 8K  
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)