stable

Clone or download

Read-only

Can start a local Meilisearch server

To test, rebuild and deploy the tuleap-meilisearch-server package, run `tuleap-cfg site-deploy`. You should be able to start the `tuleap-meilisearch` service. Once the service is started you can communicate with the Meilisearch server with something like this: `curl -H 'Authorization: Bearer <key>' http://127.0.0.1:7700/version`. The key can be found in the `/var/lib/tuleap/fts_meilisearch_server/meilisearch-master-key.env` file. Note this require to have the fts_meilisearch plugin enabled. Part of story #28835: have a full-text search backend based on Meilisearch Change-Id: I1411c555276636ecd185c11b1908349138ec6932

Modified Files

Name
M plugins/fts_meilisearch/additional-packages/tuleap-meilisearch-server.nix +2 −0 Go to diff View file
M plugins/fts_meilisearch/additional-packages/tuleap-meilisearch-server/tuleap-meilisearch-server.spec +22 −0 Go to diff View file
A plugins/fts_meilisearch/additional-packages/tuleap-meilisearch-server/tuleap-meilisearch.service +23 −0 Go to diff View file
A plugins/fts_meilisearch/include/Server/GenerateServerMasterKey.php +53 −0 Go to diff View file
A plugins/fts_meilisearch/include/Server/LocalMeilisearchServer.php +44 −0 Go to diff View file
M plugins/fts_meilisearch/include/fts_meilisearchPlugin.php +16 −0 Go to diff View file
A plugins/fts_meilisearch/tests/unit/Server/GenerateServerMasterKeyTest.php +46 −0 Go to diff View file
A plugins/fts_meilisearch/tests/unit/Server/LocalMeilisearchServerTest.php +49 −0 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +4 −0 Go to diff View file