https://github.com/devenes/devops-history-app
https://github.com/devenes/devops-history-app
flask html python template templates
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devenes/devops-history-app
- Owner: devenes
- License: other
- Created: 2022-01-19T20:26:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T11:29:08.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T15:44:20.354Z (about 1 year ago)
- Topics: flask, html, python, template, templates
- Language: HTML
- Homepage:
- Size: 9.48 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DevOps History App
This small repo demonstrates a proper file structure for a Flask app. The folders named _static_ and _templates_ are required.
**Routes** and **static files** are handled correctly in all `src` and `href` attributes in the template files.
The template file `base.html` is used as a shell by the other three HTML templates. This means they insert content into `base.html` according to Jinja2 template rules.
After installing all dependencies, run the app by entering its folder and typing:
`$ python routes.py`