Skip to content

hittapa63/django-finance-dwolla-plain

Repository files navigation

Bundl

Vanguard for Crypto

Installation

Setup a virtualenv and install requirements (this example uses virtualenvwrapper):

mkvirtualenv bundl_finance -p python3
pip install -r requirements.txt

Running server

./manage.py runserver

Building front-end

To build JavaScript and CSS files, first install npm packages:

npm install

Then to build (and watch for changes locally) just run:

npm run dev-watch

Running Celery

Celery can be used to run background tasks. To run it you can use:

celery -A bundl_finance worker -l INFO

Google Authentication Setup

To setup Google Authentication, follow the instructions here.

Running Tests

To run tests simply run:

./manage.py test

Or to test a specific app/module:

./manage.py test apps.utils.tests.test_slugs

On Linux-based systems you can watch for changes using the following:

find . -name '*.py' | entr python ./manage.py test

Set key

  • set Stripe API key and secret
  • Dwolla key and secret
  • Plain client_id and key, sandbox user credential