Add headers
This commit is contained in:
parent
a26ca908df
commit
0d14c01d0e
14
README.rst
14
README.rst
|
@ -34,10 +34,16 @@ Library prototyping based on Calibre with Flask
|
|||
Example
|
||||
*******
|
||||
|
||||
app.cfg
|
||||
=======
|
||||
|
||||
.. code-block:: cfg
|
||||
|
||||
CALIBRESTEKJE_SQLITE_URL = "sqlite:///mymetadata.db"
|
||||
|
||||
app.py
|
||||
======
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from calibrestekje import Book
|
||||
|
@ -53,6 +59,14 @@ Example
|
|||
def home():
|
||||
return jsonify({"book-count": db.session.query(Book).count()})
|
||||
|
||||
command-line
|
||||
============
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ export FLASK_APP=app.py
|
||||
$ flask run
|
||||
|
||||
.. _documentation:
|
||||
|
||||
Documentation
|
||||
|
|
Loading…
Reference in New Issue