Skip to content
evanp edited this page Mar 13, 2013 · 12 revisions

This is a howto for installing pump.io on AppFog.

  1. Get the pump.io source. Either download a pump.io tarball from https://github.com/e14n/pump.io/tags and unpack it to a directory of your choice, OR use git clone git://github.com/e14n/pump.io.git to clone from Github.
  2. In your source directory, run npm install to install all the node.js prerequisites.
  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 https://www.appfog.com/.
  5. Install the af command line tool. https://docs.appfog.com/getting-started/af-cli
  6. Login to AppFog, af login.
  7. In your pump.io 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]: n
    • Select Application Type: 8
    • Select Infrastructure: your choice
    • Application Deployed URL [applicationname.hp.af.cm]: 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
Clone this wiki locally