Skip to content

globalfoodbook/wordpress-heroku

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordpress-heroku

WordPress on Heroku

Deploy

Setup

git clone https://github.com/shimoju/wordpress-heroku.git your-blog-name
cd your-blog-name
composer install --ignore-platform-reqs
cp config/local-sample.php config/local.php
touch public/.htaccess && chmod 666 public/.htaccess

Edit config/local.php

  • Edit Database settings
  • Run this command and paste the output strings:
bin/secret-key --format array

Install WordPress

Heroku Deploy

heroku create your-blog-name
heroku addons:create cleardb
heroku addons:create mailgun
heroku addons:create papertrail
heroku config:set `bin/secret-key --format env`
git push heroku master

Install WordPress

heroku open

Settings

Use Apache

Edit Procfile

web: vendor/bin/heroku-php-apache2 -C config/apache.conf public

License

GNU GPL v2.0

Author

Hiroshi Shimoju

Releases

No releases published

Packages

No packages published

Languages

  • PHP 61.6%
  • Ruby 18.1%
  • Nginx 13.0%
  • Shell 7.3%