From 14a54471f782766edfb8893d516f619ad8c288a0 Mon Sep 17 00:00:00 2001 From: jude Date: Sun, 29 Oct 2023 18:27:55 +0000 Subject: [PATCH] Build dashboard --- .gitmodules | 3 +++ Cargo.toml | 1 + reminder-dashboard | 1 + 3 files changed, 5 insertions(+) create mode 100644 .gitmodules create mode 160000 reminder-dashboard diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..61a269d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "reminder-dashboard"] + path = reminder-dashboard + url = gitea@gitea.jellypro.xyz:jude/reminder-dashboard diff --git a/Cargo.toml b/Cargo.toml index 87e77ac..7197ea0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,7 @@ assets = [ ["conf/default.env", "etc/reminder-rs/config.env", "600"], ["conf/Rocket.toml", "etc/reminder-rs/Rocket.toml", "600"], ["web/static/**/*", "lib/reminder-rs/static", "644"], + ["reminder-dashboard/dist/static/**/*", "lib/reminder-rs/static", "644"], ["web/templates/**/*", "lib/reminder-rs/templates", "644"], ["healthcheck", "lib/reminder-rs/healthcheck", "755"], ["cron.d/reminder_health", "etc/cron.d/reminder_health", "644"], diff --git a/reminder-dashboard b/reminder-dashboard new file mode 160000 index 0000000..d5f1a2e --- /dev/null +++ b/reminder-dashboard @@ -0,0 +1 @@ +Subproject commit d5f1a2e3a1a226743e17bcf5ad42fc46d232e41f