Skip to content

Instantly share code, notes, and snippets.

@amackera
Created October 2, 2012 14:17
Show Gist options
  • Save amackera/3819483 to your computer and use it in GitHub Desktop.
Save amackera/3819483 to your computer and use it in GitHub Desktop.
Foreman Procfile and supporting scripts
#!/bin/bash
sleep 10
pushd /Users/amackera/workspace/Cottontail/socket/
node server.js
popd
#!/bin/bash
pushd /Users/amackera/workspace/PingPong/
mongod -f mongodb.conf
popd
#!/bin/bash
wait 5
pushd /Users/amackera/workspace/PingPong/
node app.js
popd
rabbitmq: rabbitmq-server
pushy: pushy
mongodb: mongodb
pingpong: pingpong
cottontail: cottontail
#!/bin/bash
pushd /Users/amackera/workspace/PushyMonocle/
node server.js
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment