refactor: move config_path from root into install_methods

Migrated all 80 app JSON files to place config_path inside each
install_methods object instead of at the root level. This allows
different install methods (e.g. Debian vs Alpine) to have distinct
config paths.

Also updated AGENTS.md JSON structure example to reflect the change.
This commit is contained in:
CanbiZ (MickLesk)
2026-04-14 14:51:01 +02:00
parent 935f9d9d3d
commit 36a4635772
81 changed files with 2621 additions and 2611 deletions

View File

@@ -1,48 +1,48 @@
{
"name": "ERPNext",
"slug": "erpnext",
"categories": [
25
],
"date_created": "2026-03-25",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://docs.erpnext.com/",
"website": "https://erpnext.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/frappe-erpnext.webp",
"config_path": "/opt/frappe-bench/.env",
"description": "ERPNext is a powerful, intuitive and open-source ERP system for managing accounting, inventory, manufacturing, CRM, projects, HR and more.",
"install_methods": [
{
"type": "default",
"script": "ct/erpnext.sh",
"resources": {
"cpu": 4,
"ram": 4096,
"hdd": 20,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": "Administrator",
"password": null
"name": "ERPNext",
"slug": "erpnext",
"categories": [
25
],
"date_created": "2026-03-25",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://docs.erpnext.com/",
"website": "https://erpnext.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/frappe-erpnext.webp",
"description": "ERPNext is a powerful, intuitive and open-source ERP system for managing accounting, inventory, manufacturing, CRM, projects, HR and more.",
"install_methods": [
{
"type": "default",
"script": "ct/erpnext.sh",
"config_path": "/opt/frappe-bench/.env",
"resources": {
"cpu": 4,
"ram": 4096,
"hdd": 20,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": "Administrator",
"password": null
},
"notes": [
{
"text": "Admin password is stored in `/opt/frappe-bench/.env`.",
"type": "info"
},
"notes": [
{
"text": "Admin password is stored in `/opt/frappe-bench/.env`.",
"type": "info"
},
{
"text": "The default site name is `site1.local`. Configure your domain in Frappe settings.",
"type": "info"
},
{
"text": "Run `bench update` from `/opt/frappe-bench` to update ERPNext manually.",
"type": "info"
}
]
}
{
"text": "The default site name is `site1.local`. Configure your domain in Frappe settings.",
"type": "info"
},
{
"text": "Run `bench update` from `/opt/frappe-bench` to update ERPNext manually.",
"type": "info"
}
]
}