Skip to content

prabs222/NewsAppUsingDjango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KhabarDekho

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.

GitHub stars Open Source Love svg1 PRs Welcome

Setup Instructions

Clone the repo in your local system

  git clone https://github.com/prabs222/NewsAppUsingDjango.git

Install virtualenv

  py -m pip install --user virtualenv

Create a new Virtualenvironment

  py -m venv env

Activate the Virtualenvironment with

  .\env\Scripts\activate

Change directory to the folder

  cd folder-where-you-cloned-the-repo

Apply all the migrations with

  python3 manage.py migrate

Run the developement server with

  python3 manage.py runserver

You'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.

Creating Superuser

Clone the repo in your local system

python3 manage.py createsuperuser

You 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 successfully

Tech Stack

Client: HTML , CSS , Javascript

Server: Django , Python

Features

  • Latest News updated every 1 hour through cron job.

Support++

This project needs your shiny star ⭐.
Don't forget to leave a star ⭐️

forthebadge made-with-python forthebadge

(@prabs222)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published