This Django-based web application serves as a platform for posting articles across various categories such as Django, Networking, and Development. Users can view existing articles, register on the platform, and create their own posts.
-
Clone the Repository:
git clone https://github.com/AvinashAnand02/Django-Blog.git cd Django_Blog
-
Install Dependencies:
pip install -r requirements.txt
-
Apply Migrations:
python manage.py migrate
-
Create Superuser (Optional):
python manage.py createsuperuser
-
Run the Development Server:
python manage.py runserver
-
Access the Application:
- Open your web browser and navigate to http://127.0.0.1:8000/ to view the homepage.
- Access the admin panel at http://127.0.0.1:8000/admin/ to manage users and articles (requires superuser credentials).
- View Articles: Users can browse articles on the homepage, categorized by Django, Networking, and Development.
- Create Post: Authenticated users can create new posts by filling out the "Create Post" form.
- Contact: Users can send messages via the contact form, accessible from the navigation bar.
- Ensure that Django and Python are installed on your system before proceeding with the setup.
- Customize the application as needed by modifying templates, views, and models according to specific requirements.
- For production deployment, configure settings such as DEBUG, ALLOWED_HOSTS, and database settings appropriately in
settings.py
. - Refer to Django's official documentation for detailed information on Django usage and deployment.
Here are some snapshots of the application:
Check out the live demo of the application at https://django-blog-pl3x.onrender.com/.
This project is licensed under the MIT License.
If you want to contact me, you can reach me through below social handles.