Book Image

Implementing AppFog

By : Matthew Nohr, Isaac Rabinovitch
Book Image

Implementing AppFog

By: Matthew Nohr, Isaac Rabinovitch

Overview of this book

AppFog is the leading platform-as-a-service provider of PHP, Ruby, Node.js, and Java solutions. It is used by developers worldwide to deploy tens of thousands of applications. AppFog delivers a reliable, scalable, and fast platform for deploying applications in the cloud.This book is a hands-on guide that will walk you through creating and deploying applications to the cloud using AppFog, which will allow you to get your application deployed without the hassle of setting up servers.This book demonstrates how to use the AppFog service to build an application and have it running in the Cloud. It will walk you through the initial AppFog setup process and explain how to create your first application in minutes.You will also discover how to use services such as databases to make your applications more powerful. You will also learn how to create applications from scratch.You will find out everything you need to know to get an application running in the cloud for the first time.
Table of Contents (13 chapters)
Implementing AppFog
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Appendix A. Installing the AppFog Gem

The AppFog command line tool is implemented using Ruby, so you need to install it as a Ruby Gem. That also means you must have Ruby installed in order to use the command line tool.

In Ruby, a Gem is a way to package and distribute programs and libraries.

This appendix gives instructions for installing Ruby and the AppFog Gem on various common platforms. The Ruby packages described are those easily installed, except on Macintosh, where Ruby 1.8.7 is preinstalled. These versions of Ruby are not typically used for serious Ruby development, but are adequate for running the AppFog command line tool.

If you are interested in Ruby development, see the last section, The Ruby Version Manager. In addition to the AppFog Gem, you will also need the Sinatra Gem to use with the examples in this book. Sinatra is a free and simple web application framework built on top of Ruby. You can find out more information about Sinatra at http://www.sinatrarb.com.