Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoProject

Django Advance Blog Project built using Django. This project allows users to create, edit, and manage blog posts with authentication and media support.


Features

  • User Registration and Login
  • Create, Update, Delete Blog Posts
  • Media/Image Upload Support
  • Admin Panel
  • Responsive UI
  • SQLite Database
  • Ready for Deployment on Render

Tech Stack

  • Python 3
  • Django
  • HTML, CSS, Bootstrap, Tailwind css
  • SQLite3
  • Gunicorn
  • Whitenoise

Project Structure

DjangoProject/
│
├── blog/
├── config/
├── media/
├── manage.py
├── requirements.txt
├── build.sh
├── Procfile
└── README.md

Installation

  1. Clone the Repository
git clone https://github.com/your-username/DjangoProject.git
cd DjangoProject
  1. Create Virtual Environment
python -m venv venv

Activate virtual environment:

Windows

venv\Scripts\activate

Linux / Mac

source venv/bin/activate

  1. Install Dependencies
pip install -r requirements.txt

  1. Apply Migrations
python manage.py migrate

  1. Create Superuser
python manage.py createsuperuser

  1. Run the Project
python manage.py runserver

Open in browser:

http://127.0.0.1:8000/

Environment Variables

If you are using production deployment, create a .env file:

SECRET_KEY=your-secret-key
DEBUG=True
ALLOWED_HOSTS=127.0.0.1,localhost

Deployment on Render

This project can be deployed for free on Render.

Required files:

  • requirements.txt
  • build.sh
  • Procfile

Build Command:

./build.sh

Start Command:

gunicorn config.wsgi

Future Improvements

  • Add User Profile Page
  • Add Comment System
  • Add Search Functionality
  • Add Categories and Tags
  • Use PostgreSQL in Production

Author

Shubham Yadav

GitHub: https://github.com/Masterpiece-105


License

This project is open source and available under the MIT License.

About

Django Advance Blog Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages