$ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">upgrade
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install -weight: 500;">git -weight: 500;">curl -weight: 500;">wget vim software-properties-common ca-certificates
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">upgrade
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install -weight: 500;">git -weight: 500;">curl -weight: 500;">wget vim software-properties-common ca-certificates
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">upgrade
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install -weight: 500;">git -weight: 500;">curl -weight: 500;">wget vim software-properties-common ca-certificates
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install python3-dev python3--weight: 500;">pip python3-venv build-essential
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install python3-dev python3--weight: 500;">pip python3-venv build-essential
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install python3-dev python3--weight: 500;">pip python3-venv build-essential
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install mariadb-server mariadb-client redis-server
-weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">enable --now mariadb redis-server
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install mariadb-server mariadb-client redis-server
-weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">enable --now mariadb redis-server
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install mariadb-server mariadb-client redis-server
-weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">enable --now mariadb redis-server
-weight: 500;">curl -fsSL https://deb.nodesource.com/setup_18.x | -weight: 600;">sudo -E bash -
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install nodejs
-weight: 600;">sudo -weight: 500;">npm -weight: 500;">install -g yarn
-weight: 500;">curl -fsSL https://deb.nodesource.com/setup_18.x | -weight: 600;">sudo -E bash -
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install nodejs
-weight: 600;">sudo -weight: 500;">npm -weight: 500;">install -g yarn
-weight: 500;">curl -fsSL https://deb.nodesource.com/setup_18.x | -weight: 600;">sudo -E bash -
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install nodejs
-weight: 600;">sudo -weight: 500;">npm -weight: 500;">install -g yarn
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install xvfb libfontconfig wkhtmltopdf
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install xvfb libfontconfig wkhtmltopdf
-weight: 600;">sudo -weight: 500;">apt -y -weight: 500;">install xvfb libfontconfig wkhtmltopdf
-weight: 600;">sudo mysql_secure_installation
-weight: 600;">sudo mysql_secure_installation
-weight: 600;">sudo mysql_secure_installation
-weight: 600;">sudo tee /etc/mysql/mariadb.conf.d/99-frappe.cnf > /dev/null <<'EOF'
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci [mysql]
default-character-set = utf8mb4
EOF -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart mariadb
-weight: 600;">sudo tee /etc/mysql/mariadb.conf.d/99-frappe.cnf > /dev/null <<'EOF'
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci [mysql]
default-character-set = utf8mb4
EOF -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart mariadb
-weight: 600;">sudo tee /etc/mysql/mariadb.conf.d/99-frappe.cnf > /dev/null <<'EOF'
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci [mysql]
default-character-set = utf8mb4
EOF -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart mariadb
-weight: 600;">sudo pip3 -weight: 500;">install frappe-bench
-weight: 600;">sudo pip3 -weight: 500;">install frappe-bench
-weight: 600;">sudo pip3 -weight: 500;">install frappe-bench
bench init frappe-bench --frappe-branch version-15
cd frappe-bench
bench init frappe-bench --frappe-branch version-15
cd frappe-bench
bench init frappe-bench --frappe-branch version-15
cd frappe-bench
bench new-site erpgenex.local.site
bench new-site erpgenex.local.site
bench new-site erpgenex.local.site
bench use erpgenex.local.site
bench use erpgenex.local.site
bench use erpgenex.local.site
bench get-app https://github.com/ErpGenex/omnexa_core.-weight: 500;">git --branch develop
bench get-app https://github.com/ErpGenex/omnexa_core.-weight: 500;">git --branch develop
bench get-app https://github.com/ErpGenex/omnexa_core.-weight: 500;">git --branch develop
bench --site erpgenex.local.site -weight: 500;">install-app omnexa_core
bench --site erpgenex.local.site -weight: 500;">install-app omnexa_core
bench --site erpgenex.local.site -weight: 500;">install-app omnexa_core
# Disable auto-fetch
export OMNEXA_AUTO_GET_APPS=0 # Override org/branch (if needed)
export ERPGENEX_GITHUB_ORG=ErpGenex
export OMNEXA_APPS_BRANCH=develop
# Disable auto-fetch
export OMNEXA_AUTO_GET_APPS=0 # Override org/branch (if needed)
export ERPGENEX_GITHUB_ORG=ErpGenex
export OMNEXA_APPS_BRANCH=develop
# Disable auto-fetch
export OMNEXA_AUTO_GET_APPS=0 # Override org/branch (if needed)
export ERPGENEX_GITHUB_ORG=ErpGenex
export OMNEXA_APPS_BRANCH=develop
bench -weight: 500;">start
bench -weight: 500;">start
bench -weight: 500;">start
-weight: 600;">sudo bench setup production frappeuser
-weight: 600;">sudo bench setup production frappeuser
-weight: 600;">sudo bench setup production frappeuser
bench get-app https://github.com/ErpGenex/<app>.-weight: 500;">git --branch develop
bench setup requirements
bench get-app https://github.com/ErpGenex/<app>.-weight: 500;">git --branch develop
bench setup requirements
bench get-app https://github.com/ErpGenex/<app>.-weight: 500;">git --branch develop
bench setup requirements
bench drop-site erpgenex.local.site --no-backup --force --root-login root --root-password 'YOUR_MYSQL_ROOT_PASSWORD'
bench drop-site erpgenex.local.site --no-backup --force --root-login root --root-password 'YOUR_MYSQL_ROOT_PASSWORD'
bench drop-site erpgenex.local.site --no-backup --force --root-login root --root-password 'YOUR_MYSQL_ROOT_PASSWORD'
bench --site erpgenex.local.site list-apps
bench --site erpgenex.local.site migrate
bench build
bench --site erpgenex.local.site list-apps
bench --site erpgenex.local.site migrate
bench build
bench --site erpgenex.local.site list-apps
bench --site erpgenex.local.site migrate
bench build - Ubuntu 24.04 LTS (recommended) or Ubuntu 22.04 LTS
- A non-root Linux user (example: frappeuser) with -weight: 600;">sudo
- DNS / domain name (optional at first)
- Open ports: 22 (SSH) + 80/443 (Nginx) or 8000 (dev) - run bench get-app ... --skip-assets for each missing required app
- run bench setup requirements
- then continue the site installation - http://<server-ip>:8000 - http://<server-ip> (through Nginx) - -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">status mariadb
- your site database settings in sites/<site>/site_config.json