The download has two parts: the theme in themes/brass and the Brass Editor extension in extensions/Others/BrassEditor.
Requirements
- Paymenter 1.5 or newer.
- Node.js 20.19 or newer, or 22.12 or newer, with npm on the server. Paymenter builds themes with Vite.
- SSH access to the server.
1. Upload the theme
Upload the brass folder to:
/var/www/paymenter/themes/brass
Keep the folder name brass, and do not put another brass folder inside it.
2. Build the theme
Paymenter serves themes from built files, so Brass has to be built once:
cd /var/www/paymenter
npm install
npm run build brass
chown -R www-data:www-data themes/brass public/brass
This creates public/brass. Build again after every Brass update.
3. Install the editor
-
Upload the
BrassEditorfolder to:/var/www/paymenter/extensions/Others/BrassEditor -
Give the web server user ownership:
chown -R www-data:www-data /var/www/paymenter/extensions/Others/BrassEditor -
Go to Extensions → Available Extensions, open the Ready to Install tab and click Install next to Brass Editor.
-
Go to Extensions → Extensions, edit Brass Editor, turn on Enabled and save.
4. Switch to Brass
- Go to System → Settings and open the Theme tab.
- Choose Brass and save.
5. Open the editor
Go to Configuration → Brass Editor. Pick one of the colour presets to start from, then change anything you like. Press Save to publish your changes.