这是一个使用Flask框架创建的简单Web应用示例。
- 主页展示
- 关于页面
- 博客系统
- 管理后台
- 响应式设计
- Python 3.7+
- pip
- 克隆此仓库
git clone https://github.com/[您的用户名]/python-hello-world.git
cd python-hello-world- 安装依赖
pip install -r requirements.txt- 运行应用
python app.py- 在浏览器中访问
http://localhost:5000
本项目配置了自动化CI/CD流程:
- 当提交代码到main或master分支时,会自动触发GitHub Actions
- 执行代码测试和语法检查
- 测试通过后,自动部署到PythonAnywhere