Bret Comnes edited this page Sep 19, 2013 · 12 revisions

Not currently working. See:

This is a howto for installing on AppFog.

  1. Get the source. Either download a tarball from and unpack it to a directory of your choice, OR use git clone git:// to clone from Github.
  2. In your source directory, run npm install to install all the node.js prerequisites. On OS X you might need to run sudo npm install
  3. In your source directory, run npm shrinkwrap to create a new npm-shrinkwrap.json file.
  4. If you don't already have one, sign up for a new AppFog account at
  5. Install the af command line tool.
  6. Login to AppFog, af login.
  7. In your source directory, run af push. It will ask you a lot of questions.
    • Would you like to deploy from the current directory? [Yn]: y
    • Application Name: yourchoice
    • Detected a Standalone Application, is this correct? [Yn]: y
    • Select Runtime: 4, for node08
    • Start Command: ./bin/pump
    • Select Infrastructure: your choice
    • Application Deployed URL []: your choice
    • Memory reservation (128M, 256M, 512M, 1G, 2G) [64M]: 64M
    • How many instances? [1]: 1
    • Bind existing services to 'applicationname'? [yN]: n
    • Create services to bind to 'applicationname'? [yN]: y
    • What kind of service?: 1
    • Specify the name of the service [mongodb-something]: your choice
    • Create another? [yN]: n
    • Would you like to save this configuration? [yN]: y

I get this error afterwards: