Skip to content

Commit

Permalink
[custom] start1.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
limingnihao committed Mar 22, 2021
1 parent ef30518 commit d7bee34
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions dev-tools/start1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ home=/Volumes/Software/Elasticsearch/data/es1

esPath=$path/distribution/archives/darwin-tar/build/install/elasticsearch-8.0.0-SNAPSHOT

ikPath=/Volumes/Workspace/workspace_github/_elastic/elasticsearch-analysis-ik/target/releases
idVersion=elasticsearch-analysis-ik-8.0.0-SNAPSHOT
ikPath=/Volumes/Software/Elasticsearch/ik
payloadPath=$path/plugins/query-payload/build

serverPath=$path/server/build/distributions

Expand All @@ -23,9 +23,14 @@ mkdir $home/logs
cp -R $serverPath/elasticsearch-8.0.0-SNAPSHOT.jar $esPath/lib

# copy ik
#rm -rf $esPath/plugins/*
#mkdir $esPath/plugins
#unzip -d $esPath/plugins/ik $ikPath/$idVersion.zip
rm -rf $esPath/plugins/*
mkdir $esPath/plugins/ik
cp -R $ikPath/* $esPath/plugins/ik

# copy payload
mkdir $esPath/plugins/payload
cp -R $payloadPath/generated-resources/* $esPath/plugins/payload
cp -R $payloadPath/distributions/*.jar $esPath/plugins/payload

portDebug=5001

Expand Down

0 comments on commit d7bee34

Please sign in to comment.