mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06:19 +00:00
Auto: misc.
This commit is contained in:
@@ -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
@@ -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.
|
- 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.
|
- Configure the local process.
|
||||||
- `promnesia config` to seed a config in `.config/promnesia/config.py`
|
- `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.
|
- Start the local process.
|
||||||
- `promnesia serve`
|
- `promnesia serve`
|
||||||
- Configure the periodic indexer.
|
- Configure the periodic indexer.
|
||||||
- Add a [[cronjob]] that runs `promnesia index`. I run mine every X minutes.
|
- Add a [[cronjob]] that runs `promnesia index`. I run mine every X minutes.
|
||||||
- Enjoy!
|
- Enjoy!
|
||||||
|
|
||||||
Thoughts / asides:
|
## Thoughts / asides:
|
||||||
|
|
||||||
- It might be good to just make optional dependencies default, so that `pip3 install --user promnesia` suffices?
|
- 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`
|
- `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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user