Files
TriggerFrontend/README.md
Sean Edmunds aa1e9fd6e5 Style fixes
2025-01-29 15:27:52 -06:00

32 lines
691 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
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
- Update weather modal with design from https://github.com/esnz/react-weather-app?tab=readme-ov-file