Sha256: a7aefd1ebde28906045461e20cb992689d9fc28dafb40cb9b6441d48ae2644be

Contents?: true

Size: 1.52 KB

Versions: 21

Compression:

Stored size: 1.52 KB

Contents

# Getting Started Examples

## Download

Examples using the Rackspace Open Cloud and Fog can be found in the [fog repository](https://github.com/fog/fog) 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](https://github.com/fog/fog/archive/master.zip).

## 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](https://github.com/fog/fog/blob/master/lib/fog/rackspace/docs/getting_started.md) 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](https://github.com/fog/fog/issues).

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

Version data entries

21 entries across 19 versions & 4 rubygems

Version Path
fog-rackspace-0.1.6 lib/fog/rackspace/examples/README.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/examples/README.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/examples/README.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/examples/README.md
fog-rackspace-0.1.5 lib/fog/rackspace/examples/README.md
fog-rackspace-0.1.4 lib/fog/rackspace/examples/README.md
fog-rackspace-0.1.3 lib/fog/rackspace/examples/README.md
fog-rackspace-0.1.2 lib/fog/rackspace/examples/README.md
fog-rackspace-0.1.1 lib/fog/rackspace/examples/README.md
fog-rackspace-0.1.0 lib/fog/rackspace/examples/README.md
fog-1.37.0 lib/fog/rackspace/examples/README.md
fog-1.36.0 lib/fog/rackspace/examples/README.md
fog-1.35.0 lib/fog/rackspace/examples/README.md
fog-2.0.0.pre.0 lib/fog/rackspace/examples/README.md
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/rackspace/examples/README.md
fog-1.34.0 lib/fog/rackspace/examples/README.md
fog-1.33.0 lib/fog/rackspace/examples/README.md
fog-1.32.0 lib/fog/rackspace/examples/README.md
fog-1.31.0 lib/fog/rackspace/examples/README.md
fog-1.30.0 lib/fog/rackspace/examples/README.md