Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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

Publishing to AppFog


Now that you have a working application, you can publish it to AppFog and create the new AppFog application.

Before you begin, make sure you are in the root director of your project. For this example that was the insideaf4 directory.

Next, you will need to log in to AppFog.

$ af login
Attempting login to [https://api.appfog.com]
Email: matt@somecompany.com
Password: ********
Successfully logged into [https://api.appfog.com]

You may be asked for your e-mail and password again, but the tool may remember your session if you logged in recently.

Now you can push your application to AppFog, which will create a new application for you. Make sure you are in the correct directory and use the Push command. You will be prompted for a number of settings during the publishing process. In each case there will be a list of options along with a default. The default value will be listed with a capital letter or listed by itself in square brackets. For our purposes, you can just press Enter...

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