PAYFORT-Inspector

by ahmeddaooud

GitHub Readme.md

Looking to self-host?

Deploy

Deploy your own instance using Heroku

Create a Heroku account if you haven't, then grab the inspector\RequestBin source using git:

$ git clone git://github.com/Payfort/inspector.git

From the project directory, create a Heroku application:

$ heroku create

Add Heroku's redis addon:

$ heroku addons:add heroku-redis

Set an environment variable to indicate production:

$ heroku config:set REALM=prod

Now just deploy via git:

$ git push heroku master

It will push to Heroku and give you a URL that your own private inspector will be running.

Deploy your own instance using Docker

On the server/machine you want to host this, you'll first need a machine with docker and docker-compose installed, then grab the inspector source using git:

$ git clone git://github.com/Payfort/inspector.git

Go into the project directory and then build and start the containers

$ sudo docker-compose build
$ sudo docker-compose up -d

Your own private inspector will be running on this server.