Bloggit is a Django-based blogging application that provides a platform for users to create, publish, and manage blog posts. It includes features such as user authentication, CRUD operations for blog posts, user profile modifications and pagination for better navigation.
-
Sign In and Sign Up:
Users can register new accounts and log in securely to access the blogging platform.
-
Authentication and Authorization:
Bloggit ensures that only authorized users can perform actions such as creating, editing, and deleting blog posts.
-
CRUD Operations:
Users can perform CRUD operations (Create, Read, Update, Delete) on blog posts, allowing them to write, publish, edit, and remove content as needed.
-
User Profile Modifications:
Registered users can modify their user profiles, such as updating their display names, avatars, and bio information.
-
Pagination:
Bloggit implements pagination to divide long lists of blog posts into multiple pages, enhancing the user experience and making it easier to navigate through the content.
-
Email for Password Reset:
Users can request a password reset via email if they forget their passwords, providing a convenient way to regain access to their accounts.
- Django
- Bootstrap
- SQLite (default Django database)
- Python 3.8 or higher
- Clone the Repository
git clone https://github.com/ksv1112/bloggit.git
cd bloggit
- Create a Virtual Environment
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install Dependencies
pip install -r requirements.txt
- Setup the Database
python manage.py migrate
- Run the Server
python manage.py runserver
- Access the Application
Open your browser and go to (http://127.0.0.1:8000)[http://127.0.0.1:8000]
Make sure Docker is installed on the other local machine. You can download and install Docker Desktop from the official Docker website.
Open a terminal or command prompt on the other local machine and use the following command to pull the Docker image from Docker Hub:
docker pull krutarth1112/django_project-web:latest
Replace <your_dockerhub_username>
with your Docker Hub username.
You can verify that the image has been successfully pulled by listing all Docker images:
docker images
You should see the django_todo_app image listed among other images.
Start a Docker container from the pulled image:
docker run --name django_project-web_remote -d -p 8000:8000 krutarth1112/django_project-web:latest
This command starts a Docker container named django_todo_app_remote from the pulled image and runs your Django application inside it.
Open a web browser on the other local machine and navigate to http://127.0.0.1:8000 to access your Django application running inside the Docker container.
Users can register new accounts and log in securely to access the blogging platform.
Bloggit ensures that only authorized users can perform actions such as creating, editing, and deleting blog posts.
Users can perform CRUD operations (Create, Read, Update, Delete) on blog posts, allowing them to write, publish, edit, and remove content as needed.
Registered users can modify their user profiles, such as updating their display names, avatars, and bio information.
Bloggit implements pagination to divide long lists of blog posts into multiple pages, enhancing the user experience and making it easier to navigate through the content.
Users can request a password reset via email if they forget their passwords, providing a convenient way to regain access to their accounts.
-
Fork the repository
-
Create your feature branch
git checkout -b feature/AmazingFeature
-
Commit your changes
git commit -m 'Add some AmazingFeature'
-
Push to the branch
git push origin feature/AmazingFeature
-
Open a Pull Request
This project is built using the following technologies: