Dashboard for Reminder Bot, in Preact.
public/static | ||
reminder-dashboard/DEBIAN | ||
src | ||
.gitignore | ||
.prettierrc.toml | ||
index.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
vite.config.ts |
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
- Download the parent repo: https://gitea.jellypro.xyz/jude/reminder-bot
- Initialise the submodules:
git pull --recurse-submodules
- Run both
npm run dev
andcargo run
- Symlink assets: assuming cloned into
$HOME
,ln -s $HOME/reminder-bot/reminder-dashboard/dist/index.html $HOME/reminder-bot/web/static/index.html
andln -s $HOME/reminder-bot/reminder-dashboard/dist/static/assets $HOME/reminder-bot/web/static/assets