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
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Before you can run the application, you need to have the following software installed:
- Python 3.x
- pip
Follow the steps below to set up the project on your local machine:
- Clone the repository:
git clone https://github.com/sobirjonovme/BlogProject.git
- Change into the project directory:
cd BlogProject
- Create a virtual environment:
python -m venv env
- Activate the virtual environment (Linux):
source env/bin/activate # for linux
env/scripts/activate # for windows
- Install the required packages:
pip install -r requirements.txt
- Run the database migrations:
python manage.py migrate
- Create a superuser to get access to admin panel:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
The application should now be running at http://localhost:8000/
.
- Django - The web framework used
- Whitenoise - Used for static file serving
- Python - The programming language used
If you would like to contribute to this project, please submit a pull request.