mirror of https://github.com/interlegis/sapl.git
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
SOLR_URL=${SOLR_URL-'http://localhost:8983/solr'} |
|||
|
|||
# zip configset sapl_configset |
|||
cd ../sapl_configset/conf && zip -r sapl_configset.zip . |
|||
|
|||
curl -X POST --header "Content-Type:application/octet-stream" --data-binary @sapl_configset.zip "$SOLR_URL/admin/configs?action=UPLOAD&name=sapl_configset" |
|||
|
|||
cd - |
|||
rm ../sapl_configset/conf/sapl_configset.zip |
|||
Loading…
Reference in new issue