Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing AppFog

You're reading from   Implementing AppFog Getting to grips with the AppFog service is easily achieved with this hands-on guide, which walks you through creating and deploying applications to the cloud. You'll be developing your first application in minutes.

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781849698184
Length 86 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Installing on Windows


  1. Go to the RubyInstaller download page available at http://rubyinstaller.org/downloads/.

  2. Choose and download the latest installer from the list. All the provided installers support the AppFog command line.

    Note

    You can use a 64-bit version of Ruby (marked x64) if you are sure you have a 64-bit version of Windows. If you have a 32-bit version of Windows, or are unsure, download one of the other installers, which work on both 32-bit and 64-bit Windows.

  3. Run the downloaded installer. If you are running a recent version of Windows, a Security Warning dialog will appear; confirm that the program has your permission to run.

  4. A sequence of dialogs appears. These allow you to specify installation language and agree to licensing terms. The configuration dialog is crucial.

  5. Be sure that Add Ruby executables to your PATH is checked. You can also install Tcl/Tk support and associate source files, but these are not needed for AppFog.

  6. Once Ruby is installed, a new program group appears in the Start Menu under All Programs.

  7. The shortcut Start Command Prompt with Ruby opens a command line window with the correct settings for using Ruby. Use this shortcut for all AppFog command line actions. You may want to copy it to the desktop or pin it to the status bar.

  8. Use the command line to install the AppFog Gem.

    c:\Users\isaac>gem install af
    
  9. Use the command line to install the Sinatra gem.

    c:\Users\isaac>gem install sinatra
    
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image