Skip to content

adrianchia/openshift-ghost

Repository files navigation

Openshift-Ghost

This project runs Ghost, a free, open, simple blogging platform created and maintained by John O'Nolan + Hannah Wolfe + an amazing group of contributors.

For more information about Ghost, visit http://ghost.org • docs on http://support.ghost.org/

Running Ghost on OpenShift

MySQL version (default)

  • Execute the following command via rhc, or create from OpenShift web console.

      rhc app create ghost nodejs-0.10 mysql-5.5 --env NODE_ENV=productionmysql --from-code https://github.com/adrianchia/openshift-ghost.git
    

Sqlite3

To adjust to Sqlite3 version, fork this repository, change pre_start_nodejs and pre_restart_nodejs and set NODE_ENV=production,

execute the following command via rhc, or create from OpenShift web console

rhc app create ghost nodejs-0.10 --env NODE_ENV=production --from-code https://github.com/{your github username}/openshift-ghost.git