Auto: misc.

This commit is contained in:
2021-04-30 14:06:29 +02:00
parent 1ba3769b53
commit 4549abb852
2 changed files with 13 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
# promnesia example config
- an [[example]]
- [[barebones]] https://github.com/karlicoss/promnesia/blob/master/src/promnesia/misc/config_example.py
- [[annotated]] https://github.com/karlicoss/promnesia/blob/master/doc/config.py
- [[flancian]] pending
- [[go]] [[annotated]]
+5 -3
View File
@@ -18,16 +18,18 @@ I would myself qualify this a bit and say that Promnesia is a tool with several
- 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).
- Edit to your liking. I started from [[promnesia example config]].
- 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:
## 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.
- I got this exception when trying to run promnesia after updating my config:
- `AssertionError: /home/flancian/.local/share/promnesia/promnesia.sqlite`
- It was because I had forgotten to run the indexer :)
- Merging auto and guess in the config does sound like a good idea (as per the comment in the [[promnesia example config]]h.