No commit activity in last 3 years
No release in over 3 years
Difio registration agent for OpenShift / Ruby applications. See the README for Usage.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Registration agent for Difio, preconfigured for OpenShift / Ruby applications.

It compiles a list of installed packages and sends it to http://www.dif.io.

Installing on your OpenShift Ruby application

  • Create an account at http://www.dif.io

  • Create your Ruby application in OpenShift

      rhc app create -a myapp -t ruby-1.8
    
  • Add a dependency in your application's Gemfile

      ...
      gem 'difio-openshift-ruby'
      ...
    
  • Set your userID in the ./data/DIFIO_SETTINGS file

      echo "export DIFIO_USER_ID=YourUserID"  > ./data/DIFIO_SETTINGS
    
  • Enable the registration script in .openshift/action_hooks/post_deploy

      cd $OPENSHIFT_REPO_DIR
      source data/DIFIO_SETTINGS
      bundle exec vendor/bundle/ruby/1.8/bin/difio-openshift
    
  • Run bundle install to install the Difio gems

      bundle install
    
  • Commit your changes

      git add .
      git commit -m "enable Difio registration"
    
  • Then push your application to OpenShift

      git push
    

That's it, you can now check your application statistics at http://www.dif.io