Morepath batching demo
Python
Permalink
Failed to load latest commit information.
morepath_batching Added tests. Jul 5, 2016
.gitignore
.travis.yml Make Python 3.5 the default testing environment Jul 26, 2016
CHANGES.rst Make Python 3.5 the default testing environment Jul 26, 2016
LICENSE Upgrading to the cookiecutter template and Morepath0.14 May 4, 2016
MANIFEST.in Upgrading to the cookiecutter template and Morepath0.14 May 4, 2016
README.rst Updated Readme file. Jul 6, 2016
setup.cfg Upgrading to the cookiecutter template and Morepath0.14 May 4, 2016
setup.py Back to development: 0.2 Jul 6, 2016
tox.ini Make Python 3.5 the default testing environment Jul 26, 2016

README.rst

Morepath Batching Demo

Introduction

This is a demo app for Morepath that illustrates batching, i.e., presenting a large data set by partitioning it in smaller batches. It also showcases how to use Jinja2 templates in a Morepath project.

More information on this app is available on Martjin Faassen' blog.

Getting started

To get started with this demo right away, you can install it and run it in a newly created virtual environment:

$ virtualenv env
$ ./env/bin/pip install morepath_batching
$ ./env/bin/morepath_batching

You can now access the app at http://localhost:5000.

Installation from sources

You can grab the sources from GitHub and set them up in a fresh virtual environment:

$ git clone https://github.com/morepath/morepath_batching.git
$ cd morepath_batching
$ virtualenv env
$ ./env/bin/pip install -e '.[test]'

You'll then be able to start the app:

$ ./env/bin/morepath_batching

And to run the test suite:

$ ./env/bin/py.test -v