Node.js and npm
Node.js 20 or newer and npm. Plugin code needs Node 22 or newer to run in its sandbox.
For developers: the commands to install the dependencies, build and run Volath from its source folder, the development mode, and the settings of the instance.
Requirements
Node.js 20 or newer and npm. Plugin code needs Node 22 or newer to run in its sandbox.
Git, available in PATH.
The same as the installed app: a CLI or an API key, and a token for your Git host.
Only for live testing from source. Install them with npx playwright install chromium.
Only if you do not want the default SQLite. Create an empty database on MySQL 8 or later or on MariaDB. Existing SQLite data is not moved over.
Commands
In order, once. Each block has a copy button.
Install the frontend and the backend dependencies.
npm install
npm --prefix backend installThis builds the app, then runs the backend on http://localhost:3000 and the frontend on http://localhost:4173.
npm startTo work on the code, run the backend and the frontend in watch mode. The frontend is then at http://localhost:5173.
npm run start:devCopy the example environment file and edit the host and the port.
cp backend/.env.example backend/.envConfiguration
The name, the logo and the icon of the app are fixed. The instance settings go in backend/.env: the address and the port of the backend, the plugin marketplace and sandbox, and an optional MySQL or MariaDB database. Everything else is edited in the app.
| Variable | Purpose |
|---|---|
| APP_HOST | Public address of the backend |
| PORT | Backend port (default 3000) |
| VOLATH_MARKETPLACE_URL | Another folder to read the plugin marketplace from |
| VOLATH_PLUGIN_SANDBOX | Set to off to run plugin code without the Node sandbox (not recommended) |
| VOLATH_DB_TYPE | mysql or mariadb. Leave it unset for SQLite |
| VOLATH_DB_HOST | Database server address (default localhost) |
| VOLATH_DB_PORT | Database server port (default 3306) |
| VOLATH_DB_USER | Database user (default root) |
| VOLATH_DB_PASSWORD | Database password |
| VOLATH_DB_NAME | Database name (default volath) |
The frontend finds the backend at http://localhost:3000. To use another address, set VITE_API_URL when starting Vite.
From source, the data lives in backend/data (database.db, backups and screenshots). To start again from scratch, stop the backend and run npm run reset, then add -- --yes to really delete it. It cannot be undone.
It runs on your own machine. Your code, tickets and settings live in a local SQLite database, or in your own MySQL or MariaDB.