reminder-bot/reminder-dashboard
2024-02-24 16:12:34 +00:00
..
public/static Add dashboard to build 2024-02-24 16:12:34 +00:00
src Add dashboard to build 2024-02-24 16:12:34 +00:00
.prettierrc.toml Add dashboard to build 2024-02-24 16:12:34 +00:00
index.html Add dashboard to build 2024-02-24 16:12:34 +00:00
package-lock.json Add dashboard to build 2024-02-24 16:12:34 +00:00
package.json Add dashboard to build 2024-02-24 16:12:34 +00:00
README.md Add dashboard to build 2024-02-24 16:12:34 +00:00
tsconfig.json Add dashboard to build 2024-02-24 16:12:34 +00:00
vite.config.ts Add dashboard to build 2024-02-24 16:12:34 +00:00

reminder-dashboard

The re-re-rewrite of the dashboard.

Why

The existing beta variant of the dashboard is written using vanilla JavaScript. This is fine, but annoying to update. This would've been okay if I was more dedicated to updating the vanilla JavaScript too, but I want to experiment with "new" things.

This also allows me to expand my frontend skills, which is relevant to part of my job.

Developing

  1. Download the parent repo: https://gitea.jellypro.xyz/jude/reminder-bot
  2. Initialise the submodules: git pull --recurse-submodules
  3. Run both npm run dev and cargo run
  4. Symlink assets: assuming cloned into $HOME, ln -s $HOME/reminder-bot/reminder-dashboard/dist/index.html $HOME/reminder-bot/web/static/index.html and ln -s $HOME/reminder-bot/reminder-dashboard/dist/static/assets $HOME/reminder-bot/web/static/assets