Installation
Fabricator installs via a single bash script. The installer handles dependencies, creates a system service, and sets up the directory structure.
Requirements
Section titled “Requirements”- Linux (Debian/Ubuntu, Arch, Fedora/RHEL)
curlorwget- Root or sudo access
See Requirements for the full list including Java and port details.
Install
Section titled “Install”curl -fsSL https://raw.githubusercontent.com/philderks/Fabricator/main/tools/install.sh | sudo bashThe installer will:
- Detect your package manager and install system dependencies
- Install Node.js 20.x via NodeSource
- Create the
fabricatorservice user - Deploy the app to
/opt/fabricator/app - Write default config to
/etc/fabricator/fabricator.env - Enable and start
fabricator.service
When it’s done, Fabricator is running at http://localhost:5000.
Upgrading
Section titled “Upgrading”Run the same install command again. The installer detects an existing installation and upgrades in place. It stops the service, syncs the new files, then restarts.
Directory layout
Section titled “Directory layout”| Path | Purpose |
|---|---|
/opt/fabricator/app | Application files (root:root, 755) |
/var/lib/fabricator | Server data, Java runtimes, backups |
/etc/fabricator/fabricator.env | Configuration (root:fabricator, 0640) |
/etc/systemd/system/fabricator.service | Systemd unit |
/opt/fabricator/app/.fabricator_version | Installed version marker |
Service management
Section titled “Service management”# Statussudo systemctl status fabricator
# Stop / start / restartsudo systemctl stop fabricatorsudo systemctl start fabricatorsudo systemctl restart fabricator
# Logssudo journalctl -u fabricator -fAccessing the UI
Section titled “Accessing the UI”By default, Fabricator only listens on localhost:5000. It won’t be reachable from outside the server without a reverse proxy.
If you’re running Fabricator on a remote server, set up a reverse proxy. Example with nginx:
server { listen 80; server_name fabricator.example.com;
location / { proxy_pass http://127.0.0.1:5000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }}Then add TLS with Certbot or Cloudflare. See the reverse proxy guide for more options.
Uninstalling
Section titled “Uninstalling”There’s no automated uninstaller yet. To remove Fabricator manually:
sudo systemctl stop fabricatorsudo systemctl disable fabricatorsudo rm -rf /opt/fabricator /etc/fabricator /etc/systemd/system/fabricator.servicesudo userdel fabricatorsudo systemctl daemon-reloadServer data lives in /var/lib/fabricator. Remove that directory too if you don’t need it:
sudo rm -rf /var/lib/fabricator