Skip to content

Commit

Permalink
back to erpnext from frappe, support v15
Browse files Browse the repository at this point in the history
  • Loading branch information
njsubedi committed May 1, 2024
1 parent 6328eb1 commit 2a748fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 6 additions & 6 deletions CloudronManifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion manifest/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 4 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -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}" \
Expand Down

0 comments on commit 2a748fc

Please sign in to comment.