Documentation

Run Shelftara on your own server

The archive holds the documentation in English. This page shows what you have to know before the first start.

Requirements

A 64-bit Linux or Windows machine, Go 1.23 or newer if you want to compile the source, MySQL 8 or MariaDB 10.6 and newer, and Nginx or Apache in front of the application.

Installation

Extract the archive, run bash install.sh, and answer the questions about the database and the administrator account. The installer writes the .env file and starts the service.

Configuration

Every setting lives in the .env file: the database, the port, the currency, the timezone, the secret key, the mail driver and the frame options. The environment wins over the file.

The reverse proxy

Point the document root at nothing in particular and proxy every request to the port of the application. The application serves its own stylesheets, scripts and pictures.

The first workspace

Sign in as the administrator, open the platform and create a workspace. The first business can also sign up on its own with the registration form.

Updates

Replace the binary, keep the .env file and the storage folder, and restart the service. The schema is updated automatically at the next start.

The quick start

unzip shelftara.zip -d /opt
cd /opt/shelftara
bash install.sh --db-host=127.0.0.1 --db-name=shelftara \
  --db-user=shelftara --db-pass=CHANGE_ME \
  --admin-email=admin@example.com --admin-pass=CHANGE_ME_TOO

What the installer does

The installer creates the database and its user when they do not exist yet, writes the .env file, installs the administrator of the platform, builds the schema and starts the service. It accepts both --key value and --key=value.