Skip to content

Instantly share code, notes, and snippets.

@diegovdev
Forked from owenkellogg/gatewayd_heroku.md
Last active August 29, 2015 14:26
Show Gist options
  • Save diegovdev/3ad9960a20d52eea76a2 to your computer and use it in GitHub Desktop.
Save diegovdev/3ad9960a20d52eea76a2 to your computer and use it in GitHub Desktop.
gatewayd on heroku

Gatewayd is designed to work with Heroku:

git clone https://github.com/ripple/gatewayd.git
cd gatewayd
heroku create my-great-gateway-app
git push heroku master
heroku addons:add heroku-postgresql
heroku config:set KEY=mysup3rs3cr3t@ap!k3y
heroku ps:scale web=1

curl http://my-great-gateway-app.herokuapp.com/v1/payments \
  -X POST \
  -u admin:mysup3rs3cr3t@ap!k3y \ 
  -d type=ripple \
  -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \ 
  -d currency=OMG \
  -d amount=100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment