learnhub - A Django-based elearning-platform to maintain all your study-related stuff clustered at one place.
Deployed version - https://learnhub-elearning.herokuapp.com/
- Assignments - Keep all your pending assignments with due date.
- Todos - Have your all todolist in front of your eyes always.
- Youtube - Browse and learn at a single platform.
- Books - Get your concepts clear by reading the books at the same time.
- Notes - Maintain all your notes, handy with you.
- Dictionary - Got stuck, get the meaning of the difficult words at a single click.
-
Clone the repository :
git clone https://github.com/shubham-techie/learnhub-elearning_app.git -
Move into the directory :
cd learnhub-elearning_app -
Creating a virtual environment : First install virtual environment
pip install virtualenvand then create virtual environmentvirtualenv venv -
Activate the virtual environment :
venv/Scripts/activate(Try this if the previous one isn't working :cd venv/Scripts-->activate-->cd../..) -
Install the required packages :
pip install -r requirements.txt -
(Now, I have set the environment variables for SECRET_KEY and DATABASE CREDENTIALS. So, you need to generate SECRET_KEY and change the settings for Database file)
-
Generate SECRET_KEY : First enable the python interpreter (using cmd
python) and in interpreter run following two python linesfrom django.core.management.utils import get_random_secret_keyandget_random_secret_key(). Copy the generated string SECRET_KEY in SECRET_KEY of setting.py file. -
Replace the DATABASES configuration with
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } } -
Set the
DEBUG=Truein settings.py file. -
Generate SQL executable commands using
python manage.py makemigrationsand create database usingpython manage.py migrate. -
Create admin :
python manage.py createsuperuserand enter the prompted details. -
Now, the app is ready to go. Run the app :
python manage.py runserver





