KhabarDekho is a portal in which users can read the daily trending news according to their location. In this project news API has been used to fetch the news.
Clone the repo in your local system
git clone https://github.com/prabs222/NewsAppUsingDjango.gitInstall virtualenv
py -m pip install --user virtualenvCreate a new Virtualenvironment
py -m venv envActivate the Virtualenvironment with
.\env\Scripts\activateChange directory to the folder
cd folder-where-you-cloned-the-repoApply all the migrations with
python3 manage.py migrateRun the developement server with
python3 manage.py runserverYou'll see output like this
Performing system checks...
System check identified no issues (0 silenced).
July 04, 2022 - 15:50:53
Django version 4.0, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.Clone the repo in your local system
python3 manage.py createsuperuserYou will see a screen like this
Username (leave blank to use 'default'):Enter a username and press enter , you will see a screen like this
Email address:Enter an email and press enter , then you will see a screen like this
Password:Enter a password , then you will see a screen like this
Password (again):Re-enter the password and you are done! You will see a screen like this
Superuser created successfullyClient: HTML , CSS , Javascript
Server: Django , Python
- Latest News updated every 1 hour through cron job.
This project needs your shiny star ⭐.
Don't forget to leave a star ⭐️