automated solr configuration export en deploy localy
This commit is contained in:
parent
ca403873f5
commit
b60aa7fae1
3
Makefile
3
Makefile
@ -50,3 +50,6 @@ phplegacy:
|
||||
|
||||
redis:
|
||||
docker exec -it materiod8_redis_1 bash
|
||||
|
||||
update_solr_conf:
|
||||
bin/update_solr_config.sh
|
8
bin/update_solr_config.sh
Executable file
8
bin/update_solr_config.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#! /bin/bash
|
||||
|
||||
docker exec -i materiod8_php_1 drush solr-gsc database_search_autocomplete config.zip
|
||||
mkdir ressources/solr/
|
||||
mv public_html/web/config.zip ressources/solr/
|
||||
unzip -o ressources/solr/config.zip -d solr_cores/materio/conf
|
||||
unzip -o ressources/solr/config.zip -d solr_cores/materio_autocomplete/conf
|
||||
docker-compose restart solr-new
|
Loading…
x
Reference in New Issue
Block a user