/bluemix-ghost

Ghost blog configured for IBM Bluemix

Primary LanguageJavaScriptMIT LicenseMIT

Ghost

Ghost Screenshot

Ghost is a simple, powerful publishing platform that allows you to share your stories with the world.

Find full details on Ghost here

Deploying Ghost to IBM Bluemix

1-click button auto deploy

Use this 1-click button to auto deploy a new Ghost blog to your IBM Bluemix account:

Deploy to Bluemix

Or you can manually configure and deploy

The following steps detail using the git and cf cli tools:

  1. git clone https://github.com/darcy202/bluemix-ghost.git
  2. cf create-space myblog
  3. cf target -s myblog
  4. cf create-service cleardb spark ghost-mysql-db
  5. cf push ghost --random-route for a quick start, or cf push ghost -n <unique name for my blog> to set the subdomain.

Supported regions

  • US South
  • United Kingdom

Note: This will not work out of the box in the Sydney region, due to the MySQL DB (from ClearDB) dependency not being available in the Sydney region. To run this in the Sydney region, you will need to manually create a MySQL instance named ghost-mysql-db.

File storage

By default any image uploads will be lost on app restart, as the file system is not persisted. If you need image storage you'll need to configure one of the storage services.

File storage: using Cloudinary

  1. Create an account at http://cloudinary.com
  2. Create an environment variable named CLOUDINARY containing your cloudinary credentials, in the format of {"cloud_name":"...", "api_key":"...", "api_secret":"..."}. You can do this via the Bluemix console or using the cf cli with: cf set-env ghost CLOUDINARY '{"cloud_name":"...", "api_key":"...", "api_secret":"..."}'
  3. Let Bluemix restage the app to pick up the Cloudinary config or do manually with: cf restage ghost

Configure your new Ghost blog

Visit https://<your ghost blog>/ghost to begin the setup of your new blog.

For more help on using Ghost visit http://support.ghost.org/user-guide/using-ghost/ .