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

Installing on Macintosh


OS X comes with Ruby 1.8.7 preinstalled. This version is rapidly falling out of use by the Ruby development community, but it does support the AppFog Gem. If your sole use of Ruby is to work with AppFog, you don't need to install a later version of Ruby. If you do plan to do Ruby application development, consider installing RVM. See the section The Ruby Version Manager.

You'll use the sudo command to install the AppFog Gem. This command requires that you have a non-blank administrator password. For more information, refer to Mac OS X: sudo command requires a non-blank admin password available at http://support.apple.com/kb/HT4103.

To install the AppFog Gem, open a Terminal window, and enter the following two commands:

sudo gem install af
sudo gem install sinatra