| 1 |
.. _installation: |
| 2 |
|
| 3 |
Installing |
| 4 |
========== |
| 5 |
|
| 6 |
flask-peewee can be installed using ``pip`` or any other packaging tool: |
| 7 |
|
| 8 |
.. code-block:: shell |
| 9 |
|
| 10 |
pip install flask-peewee |
| 11 |
|
| 12 |
If you do not have the dependencies installed already, pip will install them |
| 13 |
for you, but for reference they are: |
| 14 |
|
| 15 |
* `flask <https://github.com/pallets/flask>`_ |
| 16 |
* `peewee <https://github.com/coleifer/peewee>`_ |
| 17 |
* `wtforms <https://github.com/wtforms/wtforms>`_ |
| 18 |
* `wtf-peewee <https://github.com/coleifer/wtf-peewee>`_ |
| 19 |
* python 3.8+ |
| 20 |
|
| 21 |
Using git |
| 22 |
--------- |
| 23 |
|
| 24 |
.. code-block:: shell |
| 25 |
|
| 26 |
git clone https://github.com/coleifer/flask-peewee.git |
| 27 |
cd flask-peewee |
| 28 |
pip install . |
| 29 |
|
| 30 |
You can run the tests using the test-runner:: |
| 31 |
|
| 32 |
python runtests.py |