From e544434b42fd7306c2a98717a00140cbea263ef2 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Fri, 30 Apr 2021 13:44:25 +0200 Subject: [PATCH] Auto: misc. --- promnesia-howto.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/promnesia-howto.md b/promnesia-howto.md index f7b4ec217..50f7f2dc4 100644 --- a/promnesia-howto.md +++ b/promnesia-howto.md @@ -11,8 +11,23 @@ From [[go/promnesia/git]]: I would myself qualify this a bit and say that Promnesia is a tool with several legs, one of which is the browser extension; to get the full benefits, you also need to install a local process in your machine (a "backend"). In any case, let's begin: - Install the browser extension component. - - Currently supported are [Firefox](https://addons.mozilla.org/en-US/firefox/addon/promnesia/ and [Chrome](https://chrome.google.com/webstore/detail/promnesia/kdmegllpofldcpaclldkopnnjjljoiio). Choose one :) I use Firefox. + - Currently supported are [Firefox](https://addons.mozilla.org/en-US/firefox/addon/promnesia/) and [Chrome](https://chrome.google.com/webstore/detail/promnesia/kdmegllpofldcpaclldkopnnjjljoiio). Choose one :) I use Firefox. - Install the local process. - On Linux, type in your terminal: ```pip3 install --user promnesia bs4 lxml mistletoe logzero```. If pip3 is not found, please refer to [[pip]] to install it. - On OSX: should be the same. - On Windows: unsure. I have a Windows install so I might give it a try soon and report back; [[let me know]] if you are interested and I'll prioritize this. +- Configure the local process. + - `promnesia config` to seed a config in `.config/promnesia/config.py` + - Edit to your liking (more details and a minimum example to come). +- Start the local process. + - `promnesia serve` +- Configure the periodic indexer. + - Add a [[cronjob]] that runs `promnesia index`. I run mine every X minutes. +- Enjoy! + +Thoughts / asides: + +- It might be good to just make optional dependencies default, so that `pip3 install --user promnesia` suffices? +- I got this exception when trying to run promnesia after updating my config, unsure what's wrong as of yet. + - `AssertionError: /home/flancian/.local/share/promnesia/promnesia.sqlite` +