-
Notifications
You must be signed in to change notification settings - Fork 333
Appfog
evanp edited this page Mar 13, 2013
·
12 revisions
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. - 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]: 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]: 256M
- How many instances? [1]: 1
- Bind existing services to 'pump14'? [yN]: N