A Django news app powered with machine learning to provide personalised feed to the users based on their interactions on the app.
GPL-3.0 License
A news app powered with machine learning to provide personalized feed to the users based on their interactions on the app.
Fork and clone repo on your machine.
git clone https://github.com/ExpressHermes/Singular-News.git
Create a virtual environment. Activate it. Make sure it is in the same directory as the cloned repo.
# for linux users
python -m venv <env-name>
source venv/bin/activate
Install all requirements.
pip install -r requirements.txt
In settings.py inside Indus, replace email settings with your email address and password to allow email verification. Remember to remove these when committing to github.
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER') # relpace with your email
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD') # replace with email password
Inside the project folder, create migrations for the apps users
and feeds
python manage.py makemigrations
python manage.py migrate
Run the project
python manage.py runserver
git remote add upstream https://github.com/ExpressHermes/Singular-News.git
git pull upstream master
git checkout -b <feature-name>
git commit -am "Meaningful commit message"
git push origin <branch-name>