aboutsummaryrefslogtreecommitdiffstats
path: root/docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-08-31 17:44:11 +0000
committerMohamedBassem <me@mbassem.com>2024-08-31 17:44:11 +0000
commit621c32961d9be77decf5997324d654dbcbf85947 (patch)
tree1b893dd10e329748614b14cf7a7e0f6886be439f /docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md
parent2fb85590271476a40c3d0d6a9cc4683576ff6074 (diff)
downloadkarakeep-621c32961d9be77decf5997324d654dbcbf85947.tar.zst
docs: Publish the docs for version 0.16.0
Diffstat (limited to 'docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md')
-rw-r--r--docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md b/docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md
new file mode 100644
index 00000000..37ada2fa
--- /dev/null
+++ b/docs/versioned_docs/version-v0.16.0/02-Installation/03-archlinux.md
@@ -0,0 +1,48 @@
+# Arch Linux
+
+## Installation
+
+> [Hoarder on AUR](https://aur.archlinux.org/packages/hoarder) is not maintained by the hoarder official.
+
+1. Install hoarder
+
+ ```shell
+ paru -S hoarder
+ ```
+
+2. (**Optional**) Install optional dependencies
+
+ ```shell
+ # meilisearch: for full text search
+ paru -S meilisearch
+
+ # ollama: for automatic tagging
+ paru -S ollama
+
+ # hoarder-cli: hoarder cli tool
+ paru -S hoarder-cli
+ ```
+
+ You can use Open-AI instead of `ollama`. If you use `ollama`, you need to download the ollama model. Please refer to: [https://ollama.com/library](https://ollama.com/library).
+
+3. Set up
+
+ Environment variables can be set in `/etc/hoarder/hoarder.env` according to [configuration page](/configuration). **The environment variables that are not specified in `/etc/hoarder/hoarder.env` need to be added by yourself.**
+
+4. Enable service
+
+ ```shell
+ sudo systemctl enable --now hoarder.target
+ ```
+
+ Then visit `http://localhost:3000` and you should be greated with the Sign In page.
+
+## Services and Ports
+
+`hoarder.target` include 3 services: `hoarder-web.service`, `hoarder-works.service`, `hoarder-browser.service`.
+
+- `hoarder-web.service`: Provide hoarder WebUI service, use `3000` port default.
+
+- `hoarder-works.service`: Provide hoarder works service, no port.
+
+- `hoarder-browser.service`: Provide browser headless service, use `9222` port default.