Amazon AWS SDK Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 29
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
AWS SDK for Ruby Samples
Note
The samples described in this topic are included with the SDK for Ruby version 1, which is a
legacy version. For the most recent version of the SDK for Ruby, see AWS SDK for Ruby -
Version 2.
The AWS SDK for Ruby is packaged with a number of samples that demonstrate basic usage of the SDK
for Ruby with AWS services such as Amazon S3 Amazon EC2 and more. By studying and running these
samples, you can quickly gain understanding of how to use the SDK for Ruby and implement typical AWS
programming patterns in Ruby.
Topics
Installing the samples (p. 21)
Set your AWS Credentials (p. 22)
Run the Samples (p. 22)
Installing the samples
When you install the SDK for Ruby using gem install, you get the libraries that you can use to start
building AWS applications in Ruby. However, to get the sample code, you'll need to download the SDK
source itself.
The SDK for Ruby is an open-source project hosted on GitHub. However, you don't need an account on
GitHub just to download the source code. In fact, you don't even need the git source control manager,
though if you do, updating the source to keep up with new versions of the SDK is easy.
To get the SDK for Ruby source, follow one of the following procedures.
To download the source with git
1. Open a terminal window and change to the directory where you want to clone the SDK for Ruby
source code. For example:
cd ~/source
2. Clone the AWS SDK for Ruby project with git:
git clone https://github.com/aws/aws-sdk-ruby.git
Note
If you have an account on GitHub and your have installed an SSH key, you can use the SSH git
URL instead:
git clone [email protected]:aws/aws-sdk-ruby.git
To download the source without git
1. Download the latest SDK for Ruby source code archive using the following URL (either with your
browser, curl, wget or similar):
Version v1.0.0
21
AWS SDK for Ruby Developer Guide
AWS SDK for Ruby Samples
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29

Commentaires sur ces manuels

Pas de commentaire