erp-next/deploy
cclohmar 573765d51e feat: add Service Factory app icon to desk grid
- Added add_to_apps_screen hook in hooks.py with custom icon
- Created service_factory SVG icon (blue rounded square)
- Added permission check module (api/permission.py)
- Assets symlink instruction in deploy README
- Icon accessible at /assets/service_factory/icons/service_factory.svg
2026-07-15 21:57:52 +00:00
..
bench-env.sh chore: add deploy config with systemd services for auto-start on boot 2026-07-15 20:44:59 +00:00
frappe-bench fix: add nginx proxy to unify web + SocketIO on port 8080 2026-07-15 21:16:50 +00:00
frappe-bench-schedule.service chore: add deploy config with systemd services for auto-start on boot 2026-07-15 20:44:59 +00:00
frappe-bench-socketio.service chore: add deploy config with systemd services for auto-start on boot 2026-07-15 20:44:59 +00:00
frappe-bench-watch.service chore: add deploy config with systemd services for auto-start on boot 2026-07-15 20:44:59 +00:00
frappe-bench-web.service chore: add --proxy flag and host_name config for Zoraxy reverse proxy 2026-07-15 20:51:21 +00:00
frappe-bench-worker.service chore: add deploy config with systemd services for auto-start on boot 2026-07-15 20:44:59 +00:00
frappe-bench.target chore: add deploy config with systemd services for auto-start on boot 2026-07-15 20:44:59 +00:00
README.md feat: add Service Factory app icon to desk grid 2026-07-15 21:57:52 +00:00

Deployment Configuration

Systemd Services

The Frappe Bench (ERPNext) is managed via systemd for automatic startup on boot.

Services

Service Description Port
frappe-bench-web.service Web server (gunicorn) 8000
frappe-bench-worker.service Background async worker -
frappe-bench-schedule.service Scheduled job runner -
frappe-bench-socketio.service Realtime WebSocket server 9000
frappe-bench-watch.service File watcher (dev/assets) -

Management

# View status of all services
systemctl status frappe-bench-web.service

# Start/Stop all services
systemctl start frappe-bench.target
systemctl stop frappe-bench.target

# View logs
journalctl -u frappe-bench-web.service -f
journalctl -u frappe-bench-worker.service -f

Installation

sudo cp deploy/frappe-bench-*.service deploy/frappe-bench.target /etc/systemd/system/
sudo cp deploy/bench-env.sh /opt/erpnext/frappe-bench/bench-env.sh
sudo systemctl daemon-reload
sudo systemctl enable frappe-bench.target
sudo systemctl start frappe-bench.target

After installing the app, create the assets symlink for custom icons:

sudo ln -sf /opt/erpnext/frappe-bench/apps/service_factory/service_factory/public /opt/erpnext/frappe-bench/sites/assets/service_factory

Credentials

Admin credentials are stored in /root/erpnext-admin-credentials.txt.