diff --git a/CloudronManifest.json b/CloudronManifest.json index e1b0b76..ef266c4 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -1,12 +1,12 @@ { "manifestVersion": 2, "minBoxVersion": "7.3.3", - "id": "com.frappeframework.cloudronapp", - "website": "https://www.frappeframework.com", - "contactEmail": "support@frappeframework.com", - "title": "Frappe Framework", - "author": "Frappe Framework Authors", - "tagline": "Low code, open source, web framework in Python and Javascript for the 21st century ", + "id": "com.erpnext.cloudronapp", + "website": "https://www.erpnext.com", + "contactEmail": "support@erpnext.com", + "title": "erpnext", + "author": "erpnext authors", + "tagline": "The most agile ERP on the planet", "version": "15.25.0", "icon": "manifest/logo.png", "description": "file://manifest/DESCRIPTION.md", diff --git a/manifest/DESCRIPTION.md b/manifest/DESCRIPTION.md index 9bff3fe..9fc400e 100644 --- a/manifest/DESCRIPTION.md +++ b/manifest/DESCRIPTION.md @@ -1,4 +1,4 @@ -Install [Frappe Framework](https://frappeframework.com) on [Cloudron](https://cloudron.io). +Run [Erpnext](https://erpnext.com) on [Cloudron](https://cloudron.io). For now, it just works, if nothing goes wrong during installation. diff --git a/start.sh b/start.sh index 97ab72e..c75c114 100755 --- a/start.sh +++ b/start.sh @@ -1,6 +1,8 @@ #!/bin/bash set -eu pipefail +ERPNEXT_VERSION=v15.21.1 + echo ">>>> Ensure runtime directories" mkdir -p /run/nginx && chown -R cloudron:cloudron /run/nginx/ mkdir -p /run/supervisor/logs && chown -R cloudron:cloudron /run/supervisor/ @@ -94,6 +96,8 @@ if [[ ! -f "/app/data/frappe/sites/${DEFAULT_SITE}/.initialized" ]]; then # Make sure frappe is installed by default on this site. echo 'frappe' >/app/data/frappe/sites/apps.txt + gosu cloudron bench get-app --branch ${ERPNEXT_VERSION} --resolve-deps erpnext + gosu cloudron:cloudron bench new-site \ --force \ --db-name "${DB_NAME}" \