MyBlog is a personal blogging platform developed using Python and Django. It allows users to create, edit, and manage blog posts with ease.
- 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.
- Backend: Python, Django
- Frontend: HTML, CSS
- Database: SQLite (default)
-
Clone the Repository:
git clone https://github.com/lucosmo/myblog.git cd myblog
-
Create a Virtual Environment:
python3 -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
- Install Dependencies:
pip install -r requirements.txt
- Apply Migrations:
python manage.py migrate
- Create a Superuser:
python manage.py createsuperuser
- Run the Development Server:
python manage.py runserver
The application will be accessible at http://127.0.0.1:8000/
.
- 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.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
- Developed by lucosmo
- Built with Django, a high-level Python web framework.