mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
367 B
11 lines
367 B
#!/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
|