https://github.com/andisugandi/imflask
Implementing Jinja template engine on Bootstrap theme in simple Flask web apps.
https://github.com/andisugandi/imflask
bootstrap flask jinja python
Last synced: 3 months ago
JSON representation
Implementing Jinja template engine on Bootstrap theme in simple Flask web apps.
- Host: GitHub
- URL: https://github.com/andisugandi/imflask
- Owner: andisugandi
- License: gpl-3.0
- Created: 2019-06-07T05:30:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T20:34:54.000Z (about 2 years ago)
- Last Synced: 2025-01-11T15:37:44.835Z (5 months ago)
- Topics: bootstrap, flask, jinja, python
- Language: HTML
- Homepage:
- Size: 4.94 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Imflask
Imflask is a prototype of simple web application built from [Flask (Python)](http://flask.pocoo.org/), to provide an example of implementing [Jinja](http://jinja.pocoo.org/) template engine in Flask web apps on awesome Bootstrap theme: [Impact](https://templatemag.com/impact/).
## Getting Started
1. Make sure Python 3.x and `venv` module are already installed.
2. Create Python virtual environment and then activate it as shown in [Installing packages using pip and virtual environments](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) tutorial.
3. Let's suppose your working directory right now is your user home directory, so clone the repository:
$ cd
$ git clone https://github.com/andisugandi/imflask.git4. Change working directory to `imflask`:
$ cd imflask
5. Create `.env` file:
FLASK_ENV="development"
FLASK_APP="flaskweb.py"6. Install Python modules required, and run the server:
$ pip install -r requirements.txt
$ flask run7. Using web browser, go to `http://127.0.0.1:5000` and you'll see the application running.
## Demo
[](https://youtu.be/miyD4N6SSFU)