This README provides an overview of the Flask Blog project, a simple blog application built with Flask.
Project Description
Flask Blog is a basic blog application that demonstrates the use of Flask, a lightweight web application framework in Python. It is designed to be simple and easy to understand, making it an excellent starting point for learning Flask.
Features
- User Authentication
- Post Creation
- Commenting
- Pagination
- Static Pages
Installation
To install Flask Blog, you will need Python 3.x and Flask. Here are the steps to set up your environment:
- Clone the repository from GitHub:
git clone <repository-url>
- Install the requirements:
pip install -r requirements.txt
- Run the application:
python app.py
Usage
After running the application, you can access it at http://127.0.0.1:5000/
.
Creating a New Post
- Go to the
/post/new
route. - Fill in the form with the post details and submit it.
Commenting on a Post
- Go to the post you want to comment on.
- Enter your comment and submit it.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request for your feature or fix.
Resources
For more information on Flask, visit the Flask documentation.
Useful Links
Python Programming
Flask Framework