Files
TriggerFrontend/README.md
2025-04-03 14:54:24 -05:00

36 lines
979 B
Markdown

# Setup
Install MariaDB/MySQL
Install Git
Install Node 19+
npm install --legacy-peer-deps
create database trigger_database;
grant all privileges on trigger_database.* TO 'triggeradmin'@'localhost' identified by 'trigger';
flush privileges;
import defaultDatabase.sql into your database server
To run:
npm run dev
alias lint="npx @biomejs/biome lint . --write --unsafe && npx @biomejs/biome format . --write && npx @biomejs/biome check . --write --unsafe && npx @biomejs/biome ci . --formatter-enabled=true --linter-enabled=true --organize-imports-enabled=true"
To build:
Add any background images to public/backgrounds to include them in the build
npm run build
Run with pm2:
npm install -g pm2
sudo pm2 serve ./dist --no-daemon --spa --port 3000
sudo pm2 start server.cjs
# TODO
- Reassign/delete bookmarks when group is deleted
- Find way to list all available icons in dropdown
- Expand settings search to fields other than name
- ? Image uploads for backgrounds ?