838 B
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
-
Image uploads for backgrounds
-
Improve mobile