griddb / webapi

GridDB WebAPI
Apache License 2.0
5 stars 5 forks source link

Build to rpm files #2

Open ultramagnus94 opened 4 years ago

ultramagnus94 commented 4 years ago

How can I build a rpm file included dependencies ?

knonomura commented 4 years ago

You can use Jar file by griddb_webapi-2.1.0-bin.tar.gz. https://github.com/griddb/webapi/releases/tag/2.1.0 How about this ?

wget https://github.com/griddb/webapi/releases/download/2.1.0/griddb_webapi-2.1.0-bin.tar.gz
tar xvfz griddb_webapi-2.1.0-bin.tar.gz

export GS_WEBAPI_HOME=$PWD/webapi
sed -i -e s/\"name\"\ :\ \"\"/\"name\"\ :\ \"myCluster\"/g $GS_WEBAPI_HOME/conf/repository.json

cd $GS_WEBAPI_HOME
java -jar lib/griddb-webapi-ce-2.1.0.jar