Skip to content

Instantly share code, notes, and snippets.

@diegovdev
Forked from stevenzeiler/gatewayd_heroku.md
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save diegovdev/3ad9960a20d52eea76a2 to your computer and use it in GitHub Desktop.

Select an option

Save diegovdev/3ad9960a20d52eea76a2 to your computer and use it in GitHub Desktop.

Revisions

  1. Steven Zeiler revised this gist Sep 21, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gatewayd_heroku.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,8 @@ Gatewayd is designed to work with Heroku:
    heroku ps:scale web=1

    curl http://my-great-gateway-app.herokuapp.com/v1/payments \
    -X POST -u admin:mysup3rs3cr3t@ap!k3y \
    -X POST \
    -u admin:mysup3rs3cr3t@ap!k3y \
    -d type=ripple \
    -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \
    -d currency=OMG \
  2. Steven Zeiler revised this gist Sep 21, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gatewayd_heroku.md
    Original file line number Diff line number Diff line change
    @@ -8,8 +8,8 @@ Gatewayd is designed to work with Heroku:
    heroku config:set KEY=mysup3rs3cr3t@ap!k3y
    heroku ps:scale web=1

    curl -k -X POST -u admin:mysup3rs3cr3t@ap!k3y \
    http://my-great-gateway-app.herokuapp.com/v1/payments \
    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 \
  3. Steven Zeiler revised this gist Sep 21, 2014. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions gatewayd_heroku.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ Gatewayd is designed to work with Heroku:

    curl -k -X POST -u admin:mysup3rs3cr3t@ap!k3y \
    http://my-great-gateway-app.herokuapp.com/v1/payments \
    -d type=ripple
    -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \
    -d currency=OMG \
    -d amount=100
    -d type=ripple \
    -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \
    -d currency=OMG \
    -d amount=100
  4. Steven Zeiler revised this gist Sep 21, 2014. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions gatewayd_heroku.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,8 @@ Gatewayd is designed to work with Heroku:
    heroku ps:scale web=1

    curl -k -X POST -u admin:mysup3rs3cr3t@ap!k3y \
    http://my-great-gateway-app.herokuapp.com/v1/ripple_addresses \
    http://my-great-gateway-app.herokuapp.com/v1/payments \
    -d type=ripple
    -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \
    -d managed=false \
    -d type=independent
    -d currency=OMG \
    -d amount=100
  5. Steven Zeiler revised this gist Sep 21, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gatewayd_heroku.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ Gatewayd is designed to work with Heroku:
    heroku ps:scale web=1

    curl -k -X POST -u admin:mysup3rs3cr3t@ap!k3y \
    http://gatewayd-heroku.herokuapp.com/v1/ripple_addresses \
    http://my-great-gateway-app.herokuapp.com/v1/ripple_addresses \
    -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \
    -d managed=false \
    -d type=independent
  6. Steven Zeiler created this gist Sep 21, 2014.
    15 changes: 15 additions & 0 deletions gatewayd_heroku.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    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 -k -X POST -u admin:mysup3rs3cr3t@ap!k3y \
    http://gatewayd-heroku.herokuapp.com/v1/ripple_addresses \
    -d address=r4EwBWxrx5HxYRyisfGzMto3AT8FZiYdWk \
    -d managed=false \
    -d type=independent