This is Ruby on Rails application for sharing content in exchange for digital currency.
git clone https://github.com/lacour/cache.git cd cache bundle rake bootstrap
heroku create git push heroku master heroku run rake bootstrap heroku open
In order for payouts to work, you must first enable the Heroku Scheduler add-on to run
heroku addons:add scheduler:standard heroku addons:open scheduler
All software configuration is conveniently placed within the
config/config.yml file. Here, you can change the name of the application, set custom fees, change the digital currency being used, and more.
The software will check for the following environment variables for each service. The environment variables can be defined in a file named
.env during development, and also by using the Heroku toolbelt for setting these in production.
S3_BUCKET= S3_KEY= S3_SECRET= BLOCKIO_KEY= BLOCKIO_PIN=
This software is not intended for production use. If you wish to use this software for production use, I highly suggest removing the dependency of Block.io for deposits/payouts. This was only used to keep the application slim for Heroku. I recommend the bitcoin-ruby gem for Bitcoin or Litecoin.