sobirjonovme / BlogProject

Blog site using Django

Home Page:https://blogproject1.pythonanywhere.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlogProject

A blog website built using the Django framework and Python programming language. The website is designed to allow users to post articles and write comments, but only if they are logged in.

Link for Live Demo: BlogProject

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before you can run the application, you need to have the following software installed:

  • Python 3.x
  • pip

Installing

Follow the steps below to set up the project on your local machine:

  1. Clone the repository:
git clone https://github.com/sobirjonovme/BlogProject.git
  1. Change into the project directory:
cd BlogProject
  1. Create a virtual environment:
python -m venv env
  1. Activate the virtual environment (Linux):
source env/bin/activate  # for linux
env/scripts/activate  # for windows
  1. Install the required packages:
pip install -r requirements.txt
  1. Run the database migrations:
python manage.py migrate
  1. Create a superuser to get access to admin panel:
python manage.py createsuperuser
  1. Run the development server:
python manage.py runserver

The application should now be running at http://localhost:8000/.

Built With

  • Django - The web framework used
  • Whitenoise - Used for static file serving
  • Python - The programming language used

Contributing

If you would like to contribute to this project, please submit a pull request.

Author

About

Blog site using Django

https://blogproject1.pythonanywhere.com/


Languages

Language:CSS 66.3%Language:JavaScript 30.0%Language:HTML 2.8%Language:Python 0.9%Language:PHP 0.0%Language:Procfile 0.0%