Skip to content

dergigi/btc-quotes

Repository files navigation

Bitcoin Quotes

A simple website that shows a curated selection of quotes related to Bitcoin, one quote at a time. Available for everyone at bitcoin-quotes.com.

Contribute

If you find any typos, grammatical errors, broken links, or any other mistakes or issues, please point them out to me. Or even better: create a pull request to correct them.

Build the site locally

Prerequisites:

  1. Install Rails
  2. Clone the repository and cd into the site's directory
  3. Run bundle install to install dependencies from Gemfile
  4. Install and set up PostgreSQL (see config/database.yml for details)

After that, simply run rails s to serve the site locally.

Update

Two scripts are of interest for updating the DB: db:seed and paywall:create. If the site is running on Heroku, for example, the following will do:

heroku run bundle exec rake db:seed && heroku run bundle exec rake paywall:create

Support

You can follow the bot on Twitter and nostr, share the project, submit a quote, or support me directly.


Created with 🧡 by Gigi.