Easy Learning will be a comprehensive web based interactive tool with a complete list of resources to learn any stuff, skills, subject based on community feedback, further tailored according to your learning ability which will also be filterable and searchable.
- Create a new directory at a desired place in your file system
mkdir name_of_your_choice
cd name_of_your_choice
- Create a virtual environment in recently created directory and activate it:
python3 -m venv env
source env/bin/activate
- Clone the repository and enter to the repository:
git clone https://github.com/mohitkh7/Easy-Learning.git
cd Easy-Learning
- Next, install the dependencies using pip:
pip install -r requirements.txt
- After this create database in mysql:
mysql -u root -p<your_mysql_password>
CREATE DATABASE easylearning CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON easylearning.* TO admin@localhost IDENTIFIED BY 'thepassword';
FLUSH PRIVILEGES;
Here admin
and thepassword
should be same as USER and PASSWORD defined in database settings in startlearning/settings.py
.
- Once the database table is created, Migrate your database.
python3 manage.py migrate
- Then create a superuser account for Django:
python manage.py createsuperuser
- Then generate a API Key:
- Visit the url https://console.cloud.google.com/apis/
- Sign in with your google account.
- Search for YouTube Data API v3 and enable it.
- After enabling go to credentials present in the left navbar.
- Select a project (if none project is present then create one and select). After selecting create a API Key for it.
- Save the value of API Key in the environment variable. Below command can be used for linux user.
export YOUTUBE_API_KEY = "Your API Key"
- For Windows set can be used to save the value in env variable.
- Finally, you’re ready to start the development server:
python manage.py runserver
Visit localhost:8000 in your browser to see how it looks.
You can contribute in several ways. If you know how to code or are a designer, you are welcome to contribute using pull requests.
You can also contribute by opening issues about defects and things that could be improved or request entirely new features that you think would help others.
Join the Slack Communication Channel