mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Introduce algolia/search-bundle v3
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# All available configuration can be found here:
|
||||
# https://www.algolia.com/doc/api-client/symfony/configuration/
|
||||
algolia_search:
|
||||
prefix: '%env(APP_ENV)%_'
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Algolia\\SearchBundle\\AlgoliaSearchBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Create a free account on www.algolia.com",
|
||||
"#2": "and get your credentials from the API Keys tab.",
|
||||
"ALGOLIA_APP_ID": "...",
|
||||
"ALGOLIA_API_KEY": "..."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next: SearchBundle Configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* The Algolia/SearchBundle uses Algolia by default. Create a free
|
||||
account on http://www.algolia.com and modify your ALGOLIA_APP_ID
|
||||
and ALGOLIA_API_KEY config in <fg=green>.env</>
|
||||
|
||||
* Edit the configuration in <fg=green>config/packages/algolia_search.yaml</>
|
||||
to start indexing your data.
|
||||
|
||||
Documentation: https://www.algolia.com/doc/api-client/symfony/
|
||||
Reference in New Issue
Block a user