Skip to content

Instantly share code, notes, and snippets.

@MachinesAreUs
Created December 21, 2017 15:46
Show Gist options
  • Save MachinesAreUs/560b75772c042ffc2a50d4c8af59ccf0 to your computer and use it in GitHub Desktop.
Save MachinesAreUs/560b75772c042ffc2a50d4c8af59ccf0 to your computer and use it in GitHub Desktop.
#!/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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment