Welcome to EGGIT! This is a simple Flask web application designed to help users hatch the habit of learning better through personalized learning resources, scheduling, and user management. Built with SQLite as the database, this app includes basic user authentication and a clean interface for managing learning sessions.
git clone https://github.com/P202U/Eggit---Hatch-the-habit-of-learning.git
cd EGGITTo configure the application, you need to set up the environment variables in a .env file. Follow these steps:
-
Rename the
.env.sampleFile- In the project directory, you’ll find a file named
.env.sample. - Rename it to
.env.
mv .env.sample .env
This will create a new
.envfile that will be used by Flask to load environment variables. - In the project directory, you’ll find a file named
-
Set Up Your Email Configuration (Optional)
If you want to use email functionality (password reset emails), configure the following:
- EMAIL_ADDRESS: Enter your email address (e.g., a Gmail account).
- EMAIL_PASSWORD: If you're using Gmail and have 2-Step Verification enabled, create an App Password instead of using your Gmail password.
If you haven't already created a virtual environment, do so:
python -m venv venv-
For macOS/Linux
source venv/bin/activate -
For Windows (using VS Code terminal)
venv/scripts/Activate
pip install -r requirements.txtflask runLogin ID: admin123
Password: admin123
Note Populate your db by creating users