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...