Go to file
Micah Anderson 2927255a23
Set the RACK_ENV to be production
2021-04-27 13:28:15 -04:00
chaperone.d Set the RACK_ENV to be production 2021-04-27 13:28:15 -04:00
public
views
.gitignore
.gitlab-ci.yml
.ruby-version
Dockerfile
Gemfile
Gemfile.lock
LICENSE
README.md
app.rb
config.rb
config.ru

README.md

Bitcoin Address Queue

This is a very minimal web application to display a unique bitcoin reception address each time the page is refreshed. It does this by drawing from a pool of pre-generated addresses (so you don't need to store your private key on the server).

Configuration

Edit the file config.rb to specify where the file lives with the bitcoin addresses, one address per line.

Running

This web application uses Sinatra and Rack. To run in a development environment:

RACK_ENV=development ruby app.rb

Then browse to http://0.0.0.0:4567/index.html

To run in production deployment using apache and mod_passenger:

<VirtualHost *:80>
  ServerName www.yourapplication.com
  DocumentRoot /path/to/bitaddressq/public
  <Directory /path/to/bitaddressq/public>
    Require all granted
    Allow from all
    Options -MultiViews
  </Directory>
</VirtualHost>

Todo

Not much really, this is dead simple. But maybe: