Linux server or Raspberry Pi (no Docker)
The installer sets the hub up as a system service on a 64-bit Linux with systemd: Debian, Ubuntu, Raspberry Pi OS (64-bit) and most others.
curl -fsSL https://raw.githubusercontent.com/OpenKedai/openkedai/main/deploy/install.sh | sudo shIt:
- downloads Node.js 22 (from nodejs.org) and OpenKedai (from the project’s GitHub releases), checking both against their published checksums;
- installs them in
/opt/openkedai, with your data in/var/lib/openkedaiand settings in/etc/openkedai/openkedai.env; - creates an
openkedaisystem user and theopenkedaiservice, which starts on boot; - prints the back office’s address and the setup code.
Then open the address in a browser and choose Set up a new shop.
Everyday commands
Section titled “Everyday commands”sudo systemctl status openkedai # running?journalctl -u openkedai -f # the logjournalctl -u openkedai | grep "Setup code"sudo nano /etc/openkedai/openkedai.env # settings, then:sudo systemctl restart openkedaiUpdating
Section titled “Updating”Run the installer again. Your data and settings stay; the previous version is kept in
/opt/openkedai/releases/. To install a particular version:
curl -fsSL https://raw.githubusercontent.com/OpenKedai/openkedai/main/deploy/install.sh | sudo OPENKEDAI_VERSION=0.9.0 shTo go back to the previous version: point /opt/openkedai/app at the other folder in
/opt/openkedai/releases/ (sudo ln -sfn /opt/openkedai/releases/<older> /opt/openkedai/app) and
restart. An update that changed a shop’s database kept a copy of it first, in
/var/lib/openkedai/backups/pre-migration/.
Raspberry Pi
Section titled “Raspberry Pi”- Use Raspberry Pi OS (64-bit) on a Pi 4 or 5. A 32-bit system isn’t supported.
- SD cards wear out and fail. Turn on copies to S3-compatible storage, or keep the data on a USB SSD.
- At a shop, give the Pi a fixed address in the router: see On the shop’s network.
Uninstalling
Section titled “Uninstalling”sudo systemctl disable --now openkedaisudo rm -rf /opt/openkedai /etc/systemd/system/openkedai.service /etc/openkedaisudo userdel openkedaiThat leaves your data in /var/lib/openkedai; delete it too once you’re sure you have a copy.
For AI tools: llms.txt ·llms-full.txtopenkedai.com