Skip to content

terryg/wordpress-heroku

Repository files navigation

WordPress 5 on Heroku

Credit to mhoofman/wordpress-heroku.

This project is a template for installing and running WordPress on Heroku. The repository comes bundled with:

Installation

Clone the repository from Github

$ git clone git://github.com/terryg/wordpress-heroku

With the Heroku gem, create your app

$ cd wordpress-heroku
$ heroku create
Creating app... done, ⬢ obscure-fjord-98993
https://obscure-fjord-98993.herokuapp.com/ | https://git.heroku.com/obscure-fjord-98993.git

Add a database to your app

$ heroku addons:create cleardb
Creating cleardb on ⬢ obscure-fjord-98993... free
Created cleardb-spherical-32517 as CLEARDB_COPPER_URL
Use heroku addons:docs cleardb to view documentation

Add SendGrid for e-mail

$ heroku addons:create sendgrid
Creating sendgrid on ⬢ obscure-fjord-98993... free
Created sendgrid-tetrahedral-47962 as SENDGRID_PASSWORD, SENDGRID_USERNAME
Use heroku addons:docs sendgrid to view documentation

Create a new branch for any configuration/setup changes needed

$ git checkout -b production

Set unique keys and salts in the Heroku environment variables.

$ ./heroku-config-set.sh

Deploy to Heroku

$ git push heroku production:master

Usage

The file system associated with a Heroku app is ephemeral. Add new plugins and themes to the local repository and then push to Heroku.

About

My WordPress on Heroku configuration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published