Skip to content

Appfog

Bret Comnes edited this page · 12 revisions

Not currently working. See: https://github.com/e14n/pump.io/issues/779

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. 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 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]: y
    • Select Runtime: 4, for node08
    • Start Command: ./bin/pump
    • 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

I get this error afterwards: http://cl.ly/NiEp

Something went wrong with that request. Please try again.