This repository holds the code for the Real Python Primer on Jinja Templating tutorial.
You should first create a virtual environment:
$ python -m venv venv
$ source venv/bin/activateYou can then install Jinja and Flask with pip:
(venv) $ python -m pip install Jinja2 flaskAlternatively, you can install the pinned dependencies from requirements.txt:
(venv) $ python -m pip install -r requirements.txtThis command will install the versions used in the tutorial of Jinja, Flask, and their dependencies.
You can start your Flask development server by running app.py as a script:
(venv) $ python app.pyTo see your home page, visit http://127.0.0.1:5000.
- Philipp Acsany, E-mail: [email protected]
Distributed under the MIT license. See LICENSE for more information.