Skip to content

kaushikk18/personalblog-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Blog

Simple Blogging Website created using django
Openly available to use as a blogger template

And if you like this project, then ADD a STAR ⭐️ to this project 👆

Deployed to

https://kaushiks-blog.herokuapp.com/

Features of this Project

How to Install and Run this project?

Pre-Requisites:

  1. Install Git Version Control [ https://git-scm.com/ ]

  2. Install Python Latest Version [ https://www.python.org/downloads/ ]

  3. Install Pip (Package Manager) [ https://pip.pypa.io/en/stable/installing/ ]

Alternative to Pip is Homebrew

Installation

1. Create a Folder where you want to save the project

2. Create a Virtual Environment and Activate

Install Virtual Environment First

$  pip install virtualenv

Create Virtual Environment

For Windows

$  python -m venv venv

For Mac

$  python3 -m venv venv

For Linux

$  virtualenv .

Activate Virtual Environment

For Windows

$  source venv/scripts/activate

For Mac

$  source venv/bin/activate

For Linux

$  source bin/activate

3. Clone this project

$  git clone https://github.com/kaushikk18/personalblog-django.git

Then, Enter the project

$  cd blogg

4. Install Requirements from 'requirements.txt'

$  pip3 install -r requirements.txt

5. Add the hosts

  • Got to settings.py file
  • Then, On allowed hosts, Use [] as your host.
ALLOWED_HOSTS = []

Do not use the fault allowed settings in this repo. It has security risk!

6. Now Run Server

Command for PC:

$ python manage.py runserver

Command for Mac:

$ python3 manage.py runserver

Command for Linux:

$ python3 manage.py runserver

7. Login Credentials

Create Super User (HOD) Command for PC:

$  python manage.py createsuperuser

Command for Mac:

$  python3 manage.py createsuperuser

Command for Linux:

$  python3 manage.py createsuperuser

Then Add Email and Password

Support Developer

  1. Add a Star 🌟 to this 👆 Repository
  2. Follow on Linkedin/Github

Releases

No releases published

Packages

No packages published