Recurring payments system built on Dwolla
Ruby JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
vendor
.autotest
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
dwollatron.tmproj

README.md

Dwollotron

No, it's not ready for prime time. Dwollotron is an experiment to provide recurring payments on top of the Dwolla API. It is designed to identify needs in the Dwolla API to support these objectives, and shouldn't be considered ready-to-run code by any standards.

Dwollotron is a Rails 3.1 app with daemons for recurrence and the state_machine gem to provide finite states for transaction processing. It relies on Postgres for record locking.

Prerequisites

  • RVM
  • ruby-1.9.3
  • Postgres
  • Redis

Getting Started

  1. Clone the repo.
  2. Enter the directory, and allow RVM to create the new gemset.
  3. Update your bundle with bundle update.
  4. Copy config/database.example.yml to config/database.yml.
  5. Create the database with rake db:create followed by rake db:migrate.
  6. Launch the app with foreman start. The web application will run at http://localhost:5000, and both the queue processor and the scheduler will run.

Making it Useful

Rewrite app/models/payment.rb#call_remote_dwolla_api to do something that actually calls an API to transfer money. That part's not done.

Testing

For one-time testing, run rspec. For continual testing, run autotest.

Miscellaneous

git-up is installed as a friendly alternative to git pull --rebase. grb is installed to help with remote branch management..