WordPress on Heroku
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 Database settings
- Run this command and paste the output strings:
bin/secret-key --format array
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
heroku open
Edit Procfile
web: vendor/bin/heroku-php-apache2 -C config/apache.conf public