Gowtham1729 / lead-news

Sample Django News Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lead-news

Installation

git clone https://github.com/Gowtham1729/lead-news
cd lead-news
pip install virtualenv
virtualenv lead_news_venv
source lead_news_venv/bin/activate
pip install -r requirements.txt
# Check django installation
python -m django --version
# do db migrate
python manage.py migrate
# set the api key as environmental variable
export NEWS_API_KEY = ""
# fetch the news of preferred topic (set the topic with --topic tag)
python manage.py populate_news --topic japan
python manage.py runserver
# create superuser
py manage.py createsuperuser

Note: Change the port number if the site is running on a different port

Demo

lead_news

About

Sample Django News Website

License:MIT License


Languages

Language:Python 65.2%Language:HTML 34.8%