-
Notifications
You must be signed in to change notification settings - Fork 333
Appfog
Bret Comnes edited this page Sep 19, 2013
·
12 revisions
Not currently working. See: https://github.com/e14n/pump.io/issues/779
This is a howto for installing pump.io on AppFog.
- 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. - In your source directory, run
npm install
to install all the node.js prerequisites. On OS X you might need to runsudo npm install
- In your source directory, run
npm shrinkwrap
to create a new npm-shrinkwrap.json file. - If you don't already have one, sign up for a new AppFog account at https://www.appfog.com/.
- Install the
af
command line tool. https://docs.appfog.com/getting-started/af-cli - Login to AppFog,
af login
. - 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