#!/bin/bash NEO4J_HOME=/Users/agus/Development/workz/bunsan/bussi/neo4j-community-3.2.8 SPATIAL_RELEASE=0.24-neo4j-3.1.1 SPATIAL_RELEASES_URL=https://github.com/neo4j-contrib/m2/blob/master/releases/org/neo4j/neo4j-spatial SPATIAL_PLUGIN_JAR=neo4j-spatial-${SPATIAL_RELEASE}-server-plugin.jar SPATIAL_PLUGIN_URL=${SPATIAL_RELEASES_URL}/${SPATIAL_RELEASE}/${SPATIAL_PLUGIN_JAR} APOC_RELEASE=3.2.0.3 APOC_RELEASES_URL=https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download APOC_PLUGIN_JAR=apoc-${APOC_RELEASE}-all.jar APOC_PLUGIN_URL=${APOC_RELEASES_URL}/${APOC_RELEASE}/${APOC_PLUGIN_JAR} curl --output ${NEO4J_HOME}/plugins/${SPATIAL_PLUGIN_JAR} --location "${SPATIAL_PLUGIN_URL}?raw=true" curl --output ${NEO4J_HOME}/plugins/${APOC_PLUGIN_JAR} --location "${APOC_PLUGIN_URL}?raw=true"