Follow these steps to set up and run the project on your local machine:
Ensure that your system meets the following requirements to successfully set up and run the Personalized E-Learning:
Python: Version 3.6 or higher
Django: Version 3.0 or higher
Database: SQLite (default for Django)
Clone this repository to your local machine
git clone https://github.com/sumodkanth/Personalized-E-Learning.git
- Navigate to the project directory.
cd E_Learning
- Activate the virtual Environment.
myenv\scripts\activate
- Install the required dependencies.
pip install -r requirements.txt
- Apply initial migrations to set up the database:
python manage.py makemigrations
python manage.py migrate
Configure email settings in the settings.py file to enable the "Reset Password" feature.
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'your_smtp_server'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'your_email@example.com'
EMAIL_HOST_PASSWORD = 'your_email_password'
- Start the server
python manage.py runserver
The server will be running at http://127.0.0.1:8000/.
Username: admin2
Password: admin2