Files
herolib/lib/installers/db/meilisearch_installer
Mahmoud Emad f6e7644284 refactor: Improve dagu, meilisearch, and postgres installers
- Remove redundant code and improve the overall structure of the installer actions.
- Add more robust error handling and logging.
- Update the postgres and dagu `destroy` function to properly remove all related services.
- Improve the `install` function to ensure all necessary components are installed.
2025-02-12 12:07:38 +00:00
..

meilisearch

To get started



import freeflowuniverse.herolib.installers.db.meilisearch as meilisearchinstaller

heroscript:="
!!meilisearch.configure name:'test'
    masterkey: '1234'
    port: 7701

!!meilisearch.start name:'test' reset:1 
"

meilisearchinstaller.play(heroscript=heroscript)!

//or we can call the default and do a start with reset
//mut installer:= meilisearch_installer.get()!
//installer.start(reset:true)!




example heroscript

!!meilisearch.configure
    name:'default'
    path: '{HOME}/hero/var/meilisearch/default'
    masterkey: ''
    host: 'localhost'
    port: 7700
    production: 0