File: development.rst

package info (click to toggle)
flask-limiter 3.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,264 kB
  • sloc: python: 6,432; makefile: 165; sh: 67
file content (26 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Development
===========

The source is available on `Github <https://github.com/alisaifee/flask-limiter>`_

To get started

.. code:: console

   $ 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.

.. code:: console

   $ pytest


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

.. literalinclude:: ../../docker-compose.yml