初始提交
This commit is contained in:
commit
13bf3e9671
19
README.md
Normal file
19
README.md
Normal 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
1
demo/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
__version__ = "0.0.1"
|
||||||
12
demo/demo.json
Normal file
12
demo/demo.json
Normal 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
0
demo/demo/__init__.py
Normal file
0
demo/demo/pagetype/__init__.py
Normal file
0
demo/demo/pagetype/__init__.py
Normal file
0
demo/demo/pagetype/hello_world/__init__.py
Normal file
0
demo/demo/pagetype/hello_world/__init__.py
Normal file
68
demo/demo/pagetype/hello_world/hello_world.json
Normal file
68
demo/demo/pagetype/hello_world/hello_world.json
Normal 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
6
demo/hooks.py
Normal 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
0
demo/public/.gitkeep
Normal file
1
frontend/test.txt
Normal file
1
frontend/test.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
test
|
||||||
6
hooks.py
Normal file
6
hooks.py
Normal 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
23
pyproject.toml
Normal 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",
|
||||||
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user