Frappe- 全栈 Web 应用框架

Python Web框架

详细介绍

Frappe 是使用 Python 和 MariaDB 开发的全栈 Web
应用框架,集成了服务端和客户端。

使用 Frappe 创建的应用目录结构:

.
├── MANIFEST.in
├── README.md
├── library_management
│   ├── __init__.py
│   ├── config
│   │   ├── __init__.py
│   │   └── desktop.py
│   ├── hooks.py
│   ├── library_management
│   │   └── __init__.py
│   ├── modules.txt
│   ├── patches.txt
│   └── templates
│       ├── __init__.py
│       ├── generators
│       │   └── __init__.py
│       ├── pages
│       │   └── __init__.py
│       └── statics
├── license.txt
├── requirements.txt
└── setup.py

启动应用:

$ bench start
13:58:51 web.1        | started with pid 22135
13:58:51 worker.1     | started with pid 22136
13:58:51 workerbeat.1 | started with pid 22137
13:58:52 web.1        |  * Running on http://0.0.0.0:8000/
13:58:52 web.1        |  * Restarting with reloader
13:58:52 workerbeat.1 | [2014-09-17 13:58:52,343: INFO/MainProcess] beat: Starting...

访问应用:

登录后界面: