Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
css
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

headsupper

UPDATE

The site headsupper.io has been discontinued.

Build Status

Coverage Status

Demo

I did a demo of this at the November Mozilla Beer & Tell

Blog post

Here's the blog post about the launch of Headsupper.io.

Run the tests

To run the tests first install mock (pip install mock) then run:

python manage.py test

If you want to run the full suite, with flake8 and coverage, you may use tox. This will run the tests the same way they are run by travis):

pip install tox
tox

The .travis.yml file will also run coveralls by default.

If you want to benefit from Travis and Coveralls, you will need to activate them both for your project.

Oh, and you might want to change the "Build Status" and "Coverage Status" links at the top of this file to point to your own travis and coveralls accounts.

Test coverage

First pip install coverage then run:

coverage run ./manage.py test

Then to see the report run:

coverage html
open htmlcov/index.html

Or, just run:

./run_coverage.sh
open htmlcov/index.html

Build the production bundle

This has nothing to do with Django. This is pure npm:

npm run deploy

That'll create a dist/bundle.js monster with all the Javascript you need.

Heroku

(These instructions are not maintained!)

  1. heroku create
  2. heroku config:set DEBUG=False ALLOWED_HOSTS=.herokuapp.com, SECRET_KEY=something_secret DATABASE_URL gets populated by heroku once you setup a database.
  3. git push heroku master

About

Houston. We have commits coming in.

Resources

License

Packages

No packages published
You can’t perform that action at this time.