This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using this GIST | |
# wget https://gist.githubusercontent.com/martinpovolny/4d960e550a7838a9b04cb4d8396514b0/raw/dd5825a169953275f16a604bc62e8e482c36b4df/create_a_go_linked_to_a_service.rb | |
# bundle exec rails runner create_a_go_linked_to_a_service.rb | |
number = sprintf('%06d', rand(1_000_000)) | |
# 1. Create the Generic Object Definition | |
go_def = GenericObjectDefinition.create( | |
:name => "GO example #{number}", | |
:description => "Go example with linked service", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Use this script to install everything *system-wide* (as opposed to using | |
# bundler) to enable development. For example, ruby, rails, deltacloud, | |
# imagefactory, postgres, etc. | |
# | |
# Note: this works well for Fedora 16 and 17. For RHEL 6, some of the | |
# the dependencies may need to be manually downloaded and installed | |
# (e.g., rubygem-paranoia) |