No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ansible Fix incorrect path during salvage venv step Nov 26, 2018
apps [visitors] Fix a typo causing date to never be displayed Nov 29, 2018
hooks Run plugin and parsers tests during pre-commit hook Oct 8, 2018
parsers [htmlhead] Round out parser test coverage Oct 9, 2018
plugins [logindex] Refactor region and city backfill to database trigger Nov 27, 2018
templates [bookmarklets] Drop bookmarklet icon due to inconsistent handling acr… Nov 5, 2018
testing [captures] Add support for direct linking and pagination May 9, 2018
tools Set a default value for Accept header in an effort to stop unexpected… Nov 13, 2018
.ackrc Ignore .coverage file Feb 16, 2018
.gitignore Shed dependency on node and npm Sep 13, 2018
.pylintrc [htmlhead] Display status code if not 200 and skip parsing Oct 30, 2018
.rsync-filter Exclude more files that don't belong in production Sep 12, 2018
Jenkinsfile Limit Jenkins build retention Jun 22, 2018
Makefile Push master as first step of master-to-stage target Nov 27, 2018
README.org Rework the explanation of what this project is about Dec 13, 2017
medley.conf.example Switch systemd service from forking to simple Nov 13, 2018
medley.py Specify a reasonable default config in the server and make the extern… Nov 22, 2018
requirements-dev.txt Upgrade third-party libraries Nov 30, 2018
requirements.txt Upgrade third-party libraries Nov 23, 2018
workspace.sh Drop usage of Vagrant Jun 25, 2018

README.org

Medley

A collection of lightweight, single-purpose web applications that are too small or trivial to bother making standalone.

Medley is written in Python 3 and uses the CherryPy framework.

Setup

You’ll need at least Python 3.4. Then:

git clone git@github.com:lovett/medley.git
cd medley
make venv
source venv/bin/activate
make setup
cp medley.conf.example medley.conf
make serve

Testing

make test will run through all tests for all apps.

make [appname] will run through the tests for a specific app.

make htmlcov will generate a coverage report in HTML

make coverage will print a coverage report to the console.