Kimo is a lightweight blog backend system built with the Flask framework. It provides simple and easy-to-use blog content management and user account management features, making it suitable for personal blogs, team knowledge bases, and similar use cases.
- ✅ Blog Management: Publish, browse, and manage blog posts
- ✅ User Authentication: User registration and login
- ✅ Data Persistence: MySQL-based data storage
- ✅ Modular Architecture: Code organized using Flask Blueprints
- ✅ Database Connection Pool: Efficient database connection management via DBUtils
- Python 3.7 or higher
- MySQL 5.7 or higher
- Clone the repository
git clone https://github.com/ChanYiCYJ/Kimo.git
cd Kimo- Create a virtual environment
python -m venv venv
source venv/bin/activate # Linux / Mac
venv\Scripts\activate # Windows- Install dependencies
pip install -r requirements.txt- Create
config.json:
{
"app": {
"config": {
"title": "Hello World",
"introduction": "Hello World",
"theme": "Default"
}
},
"database": {
"host": "your-db-host",
"port": 3306,
"user": "your-username",
"password": "your-password",
"name": "your-sql-name",
"charset": "utf8mb4"
}
}
- 安装说明 配置并创建config.json后,使用
python manage.py创建数据表和创建管理员账户,最后运行
python app.py建议将项目克隆至电脑运行manage.py再将项目配置至云端
Application will start at: http://localhost:80
This project is licensed under the MIT License.
Made with ❤️ by ChanYiCYJ