初始提交

This commit is contained in:
jingrow 2025-10-29 04:59:25 +08:00
commit 13bf3e9671
12 changed files with 136 additions and 0 deletions

19
README.md Normal file
View File

@ -0,0 +1,19 @@
# Demo
Demo App
## 安装
```bash
pip install -e .
```
## 开发
```bash
pip install -e ".[dev]"
```
## 许可证
MIT License

1
demo/__init__.py Normal file
View File

@ -0,0 +1 @@
__version__ = "0.0.1"

12
demo/demo.json Normal file
View File

@ -0,0 +1,12 @@
{
"creation": "2025-10-29 00:32:33.713279",
"idx": 0,
"license_type": "",
"modified": "2025-10-29 00:32:33.713279",
"modified_by": "Administrator",
"name": "demo",
"owner": "Administrator",
"package_name": "demo",
"pagestatus": 0,
"pagetype": "Package"
}

0
demo/demo/__init__.py Normal file
View File

View File

View File

@ -0,0 +1,68 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2025-10-29 00:32:58.733780",
"custom": 1,
"engine": "InnoDB",
"field_order": [
"title",
"column_break_jcys",
"status",
"section_break_mscp",
"content"
],
"fields": [
{
"fieldname": "title",
"fieldtype": "Data",
"label": "Title"
},
{
"fieldname": "column_break_jcys",
"fieldtype": "Column Break"
},
{
"fieldname": "status",
"fieldtype": "Select",
"label": "Status",
"options": "Published\nUnpublished\nDraft"
},
{
"fieldname": "section_break_mscp",
"fieldtype": "Section Break"
},
{
"fieldname": "content",
"fieldtype": "Jeditor",
"label": "Content"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-29 00:37:14.110017",
"modified_by": "Administrator",
"module": "demo",
"name": "Hello World",
"owner": "Administrator",
"package": "demo",
"pagetype": "PageType",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

6
demo/hooks.py Normal file
View File

@ -0,0 +1,6 @@
app_name = "demo"
app_title = "Demo"
app_publisher = "Your Company"
app_description = "Demo App"
app_email = "support@yourcompany.com"
app_license = "mit"

0
demo/public/.gitkeep Normal file
View File

1
frontend/test.txt Normal file
View File

@ -0,0 +1 @@
test

6
hooks.py Normal file
View File

@ -0,0 +1,6 @@
app_name = "demo"
app_title = "Demo"
app_publisher = "Your Company"
app_description = "Demo App"
app_email = "support@yourcompany.com"
app_license = "mit"

23
pyproject.toml Normal file
View File

@ -0,0 +1,23 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "demo"
version = "0.0.1"
description = "Demo App"
authors = [
{name = "Your Company", email = "support@yourcompany.com"}
]
license = {text = "MIT"}
requires-python = ">=3.8"
dependencies = [
# Add your app-specific dependencies here
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
]