This project is a static webpage under src/ (src/index.html, src/styles.css, src/app.js, src/slideController.js, src/shows/*.js, src/assets/*.gif) with two run modes.
docker compose up -dOpen http://localhost:5173.
Stop:
docker compose downShow selection via query param:
http://localhost:5173/?show=<show_file_name>- Example:
http://localhost:5173/?show=birthdayloadssrc/shows/birthday.js - If
showis missing or invalid, it falls back tosrc/shows/default.js - If
default.jsis missing, fallback-of-fallback issrc/shows/no_show.js
./bin/installWhat it does:
- installs/updates
nginx+apache2-utils+nodejs+pnpm - runs
pnpm install - runs
pnpm run build - copies
dist/to/var/www/valentine/dist - runs
./bin/update_nginx
Notes:
./bin/installdoes not configure auth.- Configure/replace auth manually with
./bin/configure_auth.