Giter VIP home page Giter VIP logo

actionably-wp's Introduction

wordpress-heroku

Welcome. I wanted to deploy Wordpress on Heroku, and even though there were a few projects and tutorials out there, there was nothing out there that just had everything I needed to get up and running. Or perhaps I'm a lazy googler.

Installation

Clone the repository from Github

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

Create a heroku app

$ cd wordpress-heroku
$ heroku create

Add a MySQL App to your app (in my case, I chose ClearDB)

$ heroku addons:add cleardb:ignite

With this config set, now we can push to heroku $ git push heroku master

All DONE! Go to your heroku app in the admin, and all should work..

** ONE VERY IMPORTANT THING ABOUT UPLOADS ** Heroku's file system is "ephemeral". While you can write to the heroku server, anything you upload to Heroku that isn't in Git will be wiped out the second that you deploy again. Most notably, if you upload Media to the wp-content/uploads/ directory, it will disappear after you deploy any changes. I guess this could be ok if ALL of your content is in the database (which isn't destroyed with a deploy). But, for most people, wp-content/uploads/ is very useful, so now I'm looking at using S3 as the file system: https://devcenter.heroku.com/articles/s3 -- there are a few plugins that upload files to S3, so I'll be trying those out.

So, I've included the Amazon S3 for Wordpress with Cloudfront plugin to handle uploads -- to use, enable the Plugin and set it up with your AWS S3 credentials.

Also -- email from the server does not seem to work from Heroku, so I've included the wpmandrill plugin that sends out all wordpress emails through the Mandrill Email API, which I love. I've also included the Mailgun plugin, which is just as good.

actionably-wp's People

Contributors

sinned avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.