Add frappe wiki
Continuing on from our ERPNext patch, frappe wiki is another bit of
software we'd like. In particular, we want to use it to document various
tools for non-infra members who may not be aware of them.
We have made an upstream package in
https://github.com/blaggacao/frappix/pull/2, so this should now be
out-of-the-box
Change-Id: I12a03347aa25304077e6502894c933c62e435d05
Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/536
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/flake.lock b/flake.lock
index d257bcd..4e077ae 100644
--- a/flake.lock
+++ b/flake.lock
@@ -201,11 +201,11 @@
"std": "std"
},
"locked": {
- "lastModified": 1709913632,
- "narHash": "sha256-6L95O5+HmEyh6snWXCm5AHFLmoYUFc9/00Ep2Vt1V4g=",
+ "lastModified": 1710087131,
+ "narHash": "sha256-SU7W/m+u0MXliDcXJatwTHMJxQLtbvgofriC9YMdMLk=",
"owner": "blaggacao",
"repo": "frappix",
- "rev": "c489f6d004d55bb1f4610888269d89846774c842",
+ "rev": "9366e712cd9760db0584f8fa77173e118e66c388",
"type": "github"
},
"original": {
diff --git a/modules/common/frappe.nix b/modules/common/frappe.nix
index 8479aff..9720364 100644
--- a/modules/common/frappe.nix
+++ b/modules/common/frappe.nix
@@ -7,6 +7,7 @@
apps = [
pkgs.frappix.erpnext
+ pkgs.frappix.wiki
];
sites."frappe.clicks.codes" = {
@@ -16,6 +17,7 @@
apps = [
"frappe"
+ "wiki"
"erpnext"
];
};
diff --git a/modules/common/nginx-routes.nix b/modules/common/nginx-routes.nix
index d01e84c..eb3b4d3 100644
--- a/modules/common/nginx-routes.nix
+++ b/modules/common/nginx-routes.nix
@@ -20,6 +20,9 @@
"kanban.clicks.codes"
"taiga.clicks.codes"
] (Redirect "https://frappe.clicks.codes/app"))
+ (Hosts [
+ "wiki.clicks.codes"
+ ] (Redirect "https://frappe.clicks.codes/wiki"))
(Host "login.clicks.codes" (ReverseProxy "127.0.0.1:9083"))
(Hosts [ "gerrit.clicks.codes" "git.clicks.codes" ]
(ReverseProxy "generic:1024"))