Register Apps and add XRPL account subscriptions + Webhook endpoint URL's. The service will watch the XRP ledger for payment
transactions, and HTTP POST Webhooks will be sent to the subscribed apps + endpoints.
- Install dependencies with
mix deps.get
- Check your database setting at
config/dev.exs
and match your postgresql credential - Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
cd assets && npm install
- Add env variables to your environment
GITHUB_CLIENT_ID
andGITHUB_CLIENT_SECRET
Github Sign-inTWITTER_CONSUMER_KEY
andTWITTER_CONSUMER_SECRET
Twitter-Sign-inTWITTER_REDIRECT_URI
twitter app callback url (IE:https://webhook.xrpayments.com/auth/twitter/callback
). This callback url also needs to be set in your twitter app configuration.
- Start Phoenix endpoint with
mix phx.server
The attached docker-compose definition will run postgres:alpine
and this application.
Run the platform:
docker-compose up
If you made changes to this reposority, you may need to rebuild the Docker image:
docker-compose build