Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-3644: [Doc] Fixed usage text suggested dest dir path #36

Merged
merged 2 commits into from
Sep 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions bin/generate-solr-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

set -e

# Default paramters, if not overloaded by user arguments
# Default parameters, if not overloaded by user arguments
DESTINATION_DIR=.platform/configsets/solr8/conf
SOLR_VERSION=8.11.1
FORCE=false
SOLR_INSTALL_DIR=""

show_help() {
cat << EOF
Script for generting solr config
This config can be used to configure solr on eZ Platform Cloud (Platform.sh) or elsewhere.
The script should be executed from the eZ Platform root directory.
Script for generating Solr config
This config can be used to configure solr on Ibexa Cloud (Platform.sh) or elsewhere.
The script should be executed from the Ibexa project root directory.

Help (this text):
./vendor/ibexa/solr/bin/generate-solr-config.sh --help

Usage with eZ Platform Cloud (arguments here can be skipped as they have default values):
Usage with Ibexa Cloud (arguments here can be skipped as they have default values):
./vendor/ibexa/solr/bin/generate-solr-config.sh \\
--destination-dir=.platform/configsets/solr8/conf \\
--solr-version=8.11.1

Usage with on-premise version of Solr:
./vendor/ibexa/solr/bin/generate-solr-config.sh \\
--destination-dir=/opt/solr/server/ez/template \\
--destination-dir=/opt/solr/server/ibexa/template \\
--solr-install-dir=/opt/solr

Warning:
Expand Down