2023-11-04 17:45:54 +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
|
2023-11-10 15:33:30 +00:00
|
|
|
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`
|