Development

The source is available on Github

To get started

$ git clone git://github.com/alisaifee/flask-limiter.git
$ cd flask-limiter
$ pip install -r requirements/dev.txt

Tests

Since some of the tests rely on having a redis & memcached instance available, you will need a working docker installation to run all the tests.

$ pytest

Running the tests will automatically invoke docker-compose with the following config (docker-compose.yml)

version: '3.2'

services:
  memcached:
    image: memcached
    ports:
      - 31211:11211
  redis:
    image: redis
    ports:
      - 46379:6379
  mongodb:
    image: mongo
    ports:
      - '47017:27017'