Frappe Task Assignment
Bilingual teacher-to-student task assignment demo built on Frappe Desk
- Author: gongye19
- Repository: https://github.com/gongye19/frappe-task-assignment
- GitHub stars: 0
- Forks: 0
- License: MIT
- Category: Developer Tools
- Maintenance: Actively Maintained
Install Frappe Task Assignment
bench get-app https://github.com/gongye19/frappe-task-assignment
Add the Frappe Gems badge to your README
Maintain Frappe Task Assignment? Paste this into your README:
[](https://frappegems.com/gems/apps/gongye19/frappe-task-assignment)
About Frappe Task Assignment
Task Manager / 任务管理
一个基于原生 Frappe Desk 的轻量老师任务管理系统。界面支持中文和英文,不包含独立前端框架。
A lightweight task manager for teachers, built directly on Frappe Desk with Chinese and English interfaces.
功能
- 老师添加、编辑和删除任务。
- 每个任务可以记录分配给哪位学生,无需学生登录。
- 开始日期和截止日期由老师填写。
- 任务支持高、中、低优先级。
- 状态包括:待办、已完成、已归档。
- 支持列表搜索、排序和标签。
- 登录页、管理中台、表单及列表均可切换中文 / English。
安装
在已有 Frappe Bench 中执行:
bench get-app https://github.com/gongye19/frappe-task-assignment
bench --site your-site install-app task_assignment
bench --site your-site migrate
bench build --app task_assignment
安装器会创建 teacher@example.com 演示账号。密码必须通过环境变量提供,仓库不会保存任何密码:
export TASK_ASSIGNMENT_TEACHER_PASSWORD='choose-a-password'
也可以在安装前写入站点配置:
bench --site your-site set-config task_assignment_teacher_password 'choose-a-password'
数据模型
School Task:老师管理的任务。
任务和项目状态在数据库中使用稳定的英文值,通过 Frappe 翻译表显示为中文。这使筛选和 API 不依赖当前界面语言。
Railway 演示部署
仓库内的 Dockerfile 和 railway.toml 用于单容器演示部署。需要:
- MariaDB 10.11 服务和挂载到
/var/lib/mysql的持久化卷; - Redis 服务;
- 应用服务挂载到
/home/frappe/frappe-bench/sites的持久化卷; - 数据库、Redis、
ADMIN_PASSWORD以及老师演示账号密码环境变量。
Railway 默认的 MySQL 服务不适用于这个 Frappe v16 镜像,请使用 MariaDB 10.6 或更高版本。生产环境建议采用 Frappe 官方的多进程部署结构;仓库中的单容器方案主要用于产品演示。
License
MIT
Related Developer Tools apps for Frappe & ERPNext
- Frappe — Low code web framework for real world applications, in Python and Javascript
- Frappe Docker — Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
- Builder — Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly
- Bench — CLI to manage Multi-tenant deployments for Frappe apps
- Frappe Ui — A set of components and utilities for rapid UI development
- Press — Full service cloud hosting for the Frappe stack - powers Frappe Cloud
- Gameplan — Open Source Discussions Platform for Remote Teams
- Doppio — A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.