AppFog is a cloud-based solution that allows users to quickly build and deploy applications without having to handle server configuration and setup. This book is intended to help you to quickly get started using AppFog and learn to create and deploy applications to the AppFog cloud.
Chapter 1, Getting Started With AppFog, creates an account with AppFog and gets your first application running.
Chapter 2, Using the Command-line Tool, installs and uses the command line tool to download an application from AppFog, then modifies and uploads it back to the cloud.
Chapter 3, Using Databases, uses AppFog’s backend services to create a data store for your application.
Chapter 4, Creating an Application From Scratch, creates an application using only the command line tools and gets it running in the cloud.
Chapter 5, Command-line Reference, helps you learn about the many command line tools available.
Appendix, Installing the AppFog Gem, helps you install the Ruby Gem to be able to use the command line tools.
The examples in the book are written in Ruby and HTML. To follow along you will need to have Ruby running on your computer. You will have to install the AppFog Ruby Gem, which is explained in the book.
This book is aimed at anyone who wants to deploy applications to the cloud using AppFog. It is written mainly for developers who are writing their own applications to deploy.
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
A block of code is set as follows:
require ‘sinatra’ get ‘/’ do “Inside AppFog” end
Any command-line input or output is written as follows:
$ af pull insideaf1
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to
<[email protected]>, and mention the book title through the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website, or added to any list of existing errata, under the Errata section of that title.
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at
<[email protected]> with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
You can contact us at
<[email protected]> if you are having a problem with any aspect of the book, and we will do our best to address it.