build the docker from github
$ docker build --tag "refnet" https://github.com/natangl/refnet.git
$ docker run -td --name refnet -p 11332:11332 -p 21332:21332 -p 21443:21443 -p 11334:11333 docker_id
$ docker exec -it refnet /bin/bash
Pull repo & Navigate to refnet folder
Login and create Heroku app
heroku login
heroku create
Set container stack
heroku stack:set container
git push heroku master
Go to app on Heroku web, click More and run console (or find a way to SSH)
cd refnet
./autogen.sh
./configure --disable-tests --disable-bench --disable-static --without-gui --disable-zmq --with-incompatible-bdb CFLAGS='-w' CXXFLAGS='-w'
make
cd src/
./refnetd