This is my first project using Flask, created for practice purposes. The website allows users to input marks for four subjects (Science, Maths, English and Hindi) and calculates the overall percentage to determine if the student has passed the exam.
To run this Flask-based Exam Result Checker locally, follow these steps:
- Python 3.x installed on your system.
- pip (Python package installer) installed.
- Virtualenv installed (optional but recommended).
-
Clone the Repository:
git clone https://github.com/anubagre/Flask-Based-Exam-Result-Checker.git cd Flask-Based-Exam-Result-Checker
-
Create a Virtual Environment: It’s a good practice to use a virtual environment to manage dependencies.
python -m venv venv
-
Activate the Virtual Environment:
On Windows:venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Running the Application: Set the FLASK_APP Environment Variable
On Windows:
set FLASK_APP=app.py
-
Run the Flask Development Server:
flask run
Access the Application: Open your web browser and go to http://127.0.0.1:5000.