Skip to content

Run Huginn for free on OpenShift

Andrew Cantino edited this page Apr 30, 2015 · 3 revisions

Note: OpenShift does not support the current version of Huginn. See this issue.

Deploying on Openshift

  1. Create an account at http://openshift.redhat.com/

  2. Install the rhc command line tool (could be as simple as gem install rhc) and then run rhc setup.

  3. Checkout the openshift Huginn branch.

  4. Run our OpenShift setup script! (Currently brittle or broken.)

    bin/setup_openshift
    
  5. Optionally, setup Pingdom to ping your app so that it doesn't spin down and keeps doing background processes.

  6. Optionally, setup outbound email. We suggest using Gmail. See the 'Outgoing email settings' section in .env.example. You'll need to set those environment variables in OpenShift using rhc env set VARIABLE=VALUE. Something like:

    rhc env set SMTP_DOMAIN="gmail.com" SMTP_USER_NAME="[email protected]" SMTP_PASSWORD="password" SMTP_SERVER="smtp.gmail.com" SMTP_PORT=587 SMTP_AUTHENTICATION=plain SMTP_ENABLE_STARTTLS_AUTO=true EMAIL_FROM_ADDRESS="[email protected]"
    
Clone this wiki locally