PORTABLE DEPLOYMENT

1. Prepare the Environment

Create a folder for the application. The database (sustenance.db) will be created automatically in this folder.

# Create a directory in your desired location $ mkdir ~/sustenance-ops $ cd ~/sustenance-ops

2. Install the Binary

Move the downloaded binary (Sustenance_Linux or Sustenance_Linux_ARM64) into this folder and make it executable.

# Grant execution permissions (Linux/Mac) $ chmod +x Sustenance_Linux

3. Execute

Run the application. You can use the default port (7777) or specify your own.

# Option A: Start on default port 7777 $ ./Sustenance_Linux
# Option B: Start on a custom port (e.g. 7778) $ ./Sustenance_Linux -port=7778

4. Terminate

To stop the server, you can simply close the terminal window or press Ctrl+C. If running in the background, use the following to find and kill the process:

# Find the Process ID (PID) $ pidof Sustenance_Linux
# Terminate the process using the PID $ kill [PID_NUMBER]
# Or kill by name directly $ pkill Sustenance_Linux

Access the dashboard: Open your browser and navigate to http://localhost:7777 (or your custom port).

MAINTENANCE & UPDATES

Download

If there is a critical update, you can download the new binary from your purchase link or our release channel.

Swap

Stop the running app. Replace the old binary with the new one.

Retain

Do not delete sustenance.db. This file contains your entire inventory.