This project is a blogging website developed using Django a high-level Python web framework. The goal of this project is to provide users with a platform to write and share their thoughts ideas and experiences through blog posts. The project follows the principles of Model-View-Controller (MVC) architecture to ensure a clean and maintainable codebase.
https://vikasz1.pythonanywhere.com/
Here're some of the project's best features:
- User Registration and Authentication: Users can create accounts log in and log out. Only logged-in users can create edit and delete their own posts.
- Create and Edit Posts: Users can write new blog posts and edit existing ones using a rich text editor.
- Post Publishing: Users can publish their posts which will then be visible to all users of the website.
- Commenting: Users can leave comments on blog posts to engage in discussions and share their opinions.
- Static Files Handling: The project utilizes the information from Django's static files documentation and PythonAnywhere's guide on Django static files to properly manage static files like CSS JavaScript and images.
1. Clone the repository:hub.com/your-username/your-project.git cd your-project
git clone https://github.com/vikasz1/DjangoBlog.git
2. Install Pipenv (if not already installed):
pip install pipenv
3. Create a virtual environment and install project dependencies:
pipenv install
4. Activate the virtual environment:
pipenv shell
5. Set up the database:
python manage.py migrate
6. Create a superuser for administrative access:
python manage.py createsuperuser
7. Run the development server:
python manage.py runserver
Technologies used in the project:
- Python
- CSS
- HTML
- Django
This project is licensed under the MIT