Skip to content

Commit

Permalink
Add some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmusso committed Jun 2, 2017
1 parent 7c04099 commit 554f4e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/gremlin-server/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ export JRE_HOME=/usr/lib/jvm/java-8-oracle
wget -O $HOME/apache-tinkerpop-gremlin-server-$GREMLIN_SERVER_VERSION-bin.zip "https://www.apache.org/dyn/closer.cgi?action=download&filename=tinkerpop/$GREMLIN_SERVER_VERSION/apache-tinkerpop-gremlin-server-$GREMLIN_SERVER_VERSION-bin.zip"
unzip $HOME/apache-tinkerpop-gremlin-server-$GREMLIN_SERVER_VERSION-bin.zip -d $HOME/

echo "Done extracting!"

echo "Grabbing configuration file"
# get gremlin-server configuration files
cp ./build/gremlin-server/gremlin-server-js.yaml $HOME/apache-tinkerpop-gremlin-server-$GREMLIN_SERVER_VERSION/conf/

# get neo4j dependencies
# bin/gremlin-server.sh -i org.apache.tinkerpop neo4j-gremlin $GREMLIN_SERVER_VERSION

echo "Starting gremlin-server..."
# Start gremlin-server in the background and wait for it to be available
cd $HOME/apache-tinkerpop-gremlin-server-$GREMLIN_SERVER_VERSION
bin/gremlin-server.sh conf/gremlin-server-js.yaml > /dev/null 2>&1 &
Expand Down

0 comments on commit 554f4e7

Please sign in to comment.