Creating a blog with Ghost on Heroku

Creating a professional blog is super easy. The most popular way to create a blog is Wordpress, but I've enjoyed working with Ghost due to its rich feature set that developers will find easy to customize. It's also open-source, meaning it is free to use. Ghost makes money by offering a hosting service. In this tutorial I'll demonstrate how to launch a Ghost blog hosted on Heroku, which has a free tier. Setting this blog up under a custom domain, however, is not free and will not be covered in this tutorial.

Ok lets get started!

1.Head over to this github project. Github is a website that allows developers to post their code for others to use. Scroll down and select the "Deploy to Heroku" button.

Screen-Shot-2018-04-18-at-9.20.40-PM

2.Sign up for a Heroku account. If you already have an account, you can skip this step. Otherwise, you'll see a page with this banner

Screen-Shot-2018-04-18-at-9.24.14-PM

Sign up using the form on that page, verify your email, then set your password.

  1. You should now see a page that looks like this

Screen-Shot-2018-04-18-at-9.28.09-PM

Fill in the 'App name' field. This can be anything you want, but must not already be taken on Heroku.

  1. Set your blog's domain name.

Screen-Shot-2018-04-18-at-9.30.03-PM

Make sure to replace 'YOURAPPNAME' with the name you entered in step 3.

  1. Hit deploy app. Don't worry about filling in any of the fields that start with S3. This step will take a few minutes. Specifically, the 'configure environment' step may take a while (5-10mins) then ask you to verify your account with a credit card. If that happens, enter your credit card info then select deploy app again. You'll receive an email from jawsdb.com - a free service for managing the MySQL database that your blog will use. Once your app is deployed to the internet you'll see something that looks like

Screen-Shot-2018-04-18-at-9.43.02-PM

  1. Hit the 'View' button and you'll see a page that looks like:

Screen-Shot-2018-04-18-at-9.44.19-PM

Follow the instructions to create the admin account for your blog. When you want to edit your blog, you'll navigate to https://<app_name>.herokuapp.com/ghost and enter your username and password.

  1. Congrats! Your blog is live. You should see a page that looks like

Screen-Shot-2018-04-18-at-9.46.44-PM

Ghost populates your blog with posts explaining how to use it. You can always delete these posts once you've got the hang of things.

Happy blogging!

Show Comments