Skip to content

Cborgg/Django-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Django Blogging Website

Welcome to the Django Blogging Website! This is a simple blogging platform built using Django.

Table of Contents

Getting Started

Prerequisites

Before you begin, ensure you have the following installed on your machine:

  • Python (version 3.x)
  • Django (version 4.x)
  • Pipenv (for virtual environment management)

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/django-blog.git
    
  2. Navigate to the project directory:
 cd django-blogging-website
  1. Install dependencies using Pipenv:
pipenv install

Configuration

  1. Create a .env file in the project root and configure the following settings:
DEBUG=True
SECRET_KEY=your_secret_key
DATABASE_URL=sqlite:///db.sqlite3

Update your_secret_key with a secure Django secret key.

  1. Apply database migrations:
python manage.py migrate

Running the Project

Start the development server:

python manage.py runserver

Visit http://localhost:8000/ in your web browser to access the blogging website.

Usage

Create a superuser to manage the admin panel:

python manage.py createsuperuser

Access the Django admin panel at http://localhost:8000/admin/ to manage blog posts and users.

About

Blog created using Django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published