1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/rackspace/examples
Andrew Langhorn 08287cbe64 Fix comment: 5mins = 300s
Fixes the comment to accurately reflect how many seconds are in five
minutes.
2015-08-05 16:02:14 +01:00
..
auto_scale Revert "Moving Rackspace logic to fog-rackspace" 2014-12-10 11:30:34 -05:00
block_storage Revert "Moving Rackspace logic to fog-rackspace" 2014-12-10 11:30:34 -05:00
compute_v2 Fix comment: 5mins = 300s 2015-08-05 16:02:14 +01:00
queues Revert "Moving Rackspace logic to fog-rackspace" 2014-12-10 11:30:34 -05:00
storage Revert "Moving Rackspace logic to fog-rackspace" 2014-12-10 11:30:34 -05:00
README.md Better help address for Rackspace 2015-03-16 13:55:01 -04:00

Getting Started Examples

Download

Examples using the Rackspace Open Cloud and Fog can be found in the fog repository under the directory fog/lib/fog/rackspace/examples.

This repository can be downloaded via git by executing the following:

git clone git://github.com/fog/fog.git

Optionally you can download a zip by clicking on this link.

Requirements

Examples require the following:

  • Rackspace Open Cloud account
  • Ruby 1.8.x or 1.9.x
  • fog gem

For more information please refer to the Getting Started with Fog and the Rackspace Open Cloud document.

Credentials

Examples will prompt for Rackspace Open Cloud credentials. Prompts can be skipped by creating a .fog file in the user's home directory. This is an example of a .fog file for the Rackspace Open Cloud:

default:
	rackspace_username: RACKSPACE_USERNAME
	rackspace_api_key: RACKSPACE_API_KEY

Note: Replace capitalized values with the appropriate credential information.

Executing

To execute scripts using bundler:

bundle exec ruby <script>

To execute scripts without bundler:

ruby <script>

Support and Feedback

Your feedback is appreciated! If you have specific issues with the fog SDK, developers should file an issue via Github.

For general feedback and support requests, please visit: https://developer.rackspace.com/support.