Requirements to run the code
Tool | Version |
---|---|
Python | >=3.7 |
Flask | 2.1.3 |
Please make sure that python is already setup on your machine
To install any other libraries required to run this code, just execute pip install -r requirements.txt
from terminal.
It is good practice to use python virtual environment to segregate the various project libraries and avoid version conflict.
To run the application, we need to tell flask which file to accept as starting point.
- (MAC): export FLASK_APP=application.py
- (MAC): export FLASK_DEBUG=1
- (windows): set FLASK_APP=application.py
- (windows): set FLASK_DEBUG=1
- flask run (this will start the flask instance by default on 127.0.0.1:5000)
application.py: This is the name of our code file, that has logic for flask, it can be any file name.
Also, above commands need to be run on "terminal" for MAC and "command prompt" for Windows.
Note: FLASK_DEBUG=1
helps to pick any code change automatically, without restarting the app, just refreshing the page reflects changes.
- Bootstrap Tutorial
- Flask Tutorial - Youtube
- Flask Tutorial - Official Website
- Stock Images
- Full page background image CSS
- Adding color to background image
- Material Design for Bootstrap
- Google Font - Exo 2
- SVG icons
TO-DO:: Reading a file is good, keeps you informed about a project, but can you clean this line? This is extra here...