1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/docs/_posts/2011-01-01-start.md
2011-03-31 21:58:27 -04:00

521 B

layout title
default fog - Getting Started

Getting Started

Setup

First off you will need to install the gem:

$ gem install fog

Setting Up Local Storage

We will be using local storage in the example, so first off make a local directory that things can go in.

$ mkdir ~/fog

Now We can start building out our script to play with. First thing is first, we will setup a storage connection.

Fog::Storage.new(
    :local_root => '~/fog',
    :provider   => 'Local',
)