Skip to content

lucosmo/myblog

Repository files navigation

MyBlog

MyBlog is a personal blogging platform developed using Python and Django. It allows users to create, edit, and manage blog posts with ease.

Features

  • Create Posts: Write new blog entries with rich content.
  • Edit Posts: Update existing posts as needed.
  • Delete Posts: Remove posts that are no longer relevant.
  • List Posts: View a list of all blog entries.
  • Detail View: Read full content of individual posts.

Technologies Used

  • Backend: Python, Django
  • Frontend: HTML, CSS
  • Database: SQLite (default)

Getting Started

Prerequisites

Installation

  1. Clone the Repository:

    git clone https://github.com/lucosmo/myblog.git
    cd myblog
  2. Create a Virtual Environment:

python3 -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install Dependencies:
pip install -r requirements.txt
  1. Apply Migrations:
python manage.py migrate
  1. Create a Superuser:
python manage.py createsuperuser
  1. Run the Development Server:
python manage.py runserver

The application will be accessible at http://127.0.0.1:8000/.

Usage

  • Access the Admin Panel: Navigate to http://127.0.0.1:8000/admin/ and log in with your superuser credentials to manage posts.
  • View Blog Posts: Visit http://127.0.0.1:8000/ to see the list of published posts.
  • Create, Edit, Delete Posts: Use the admin panel to manage your blog content.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Developed by lucosmo
  • Built with Django, a high-level Python web framework.

About

Personal blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published