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 start13:58:51 web.1 | started with pid 2213513:58:51 worker.1 | started with pid 2213613:58:51 workerbeat.1 | started with pid 2213713:58:52 web.1 | * Running on https://0.0.0.0:8000/13:58:52 web.1 | * Restarting with reloader13:58:52 workerbeat.1 | [2014-09-17 13:58:52,343: INFO/MainProcess] beat: Starting...访问应用:
登录后界面:
评论