mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
21 lines
459 B
Markdown
21 lines
459 B
Markdown
---
|
|
layout: default
|
|
title: Getting Started
|
|
---
|
|
|
|
First off, 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',
|
|
)
|