Skip to content
This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Commit ecea9b1

Browse files
author
geoff.thorpe
committed
Merge branch 'master' into neo4j-v4
# Conflicts: # scripts/neo4j-plugins
2 parents 0d5e249 + 6196d70 commit ecea9b1

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ make run-db
6363

6464
_Troubleshooting_
6565

66-
- You may need to install `wget` in order to run `./scripts/neo4j-plugins`. You can do this with `brew` by running `brew install wget`
67-
- If `wget` fails, visit https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases, download version `3.5.0.1` and save in `./neo4j/plugins`
6866
- The `make run-db` command requires you to have an account with docker, (you should be able to do that [here](https://hub.docker.com/)) and download the the docker application (you should be able to do that [here](https://www.docker.com/get-docker))).
6967

7068
This can be done _without_ docker if desired, by instead installing a neo4j database instance to the `neo4j` directory, the directory structure and scripts to run are the same as the docker configuration.

scripts/neo4j-plugins

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
#!/usr/bin/env bash
22

33
mkdir -p neo4j/{plugins,logs,data}
4-
wget -O neo4j/plugins/apoc-4.1.0.4-all.jar https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.1.0.4/apoc-4.1.0.4-all.jar
4+
5+
APOC_PLUGIN_URL=https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.1.0.4/apoc-4.1.0.4-all.jar
6+
APOC_PLUGIN_FILENAME=neo4j/plugins/apoc-4.1.0.4-all.jar
7+
8+
if type wget 2>/dev/null; then
9+
wget -O $APOC_PLUGIN_FILENAME $APOC_PLUGIN_URL
10+
elif type curl 2>/dev/null; then
11+
curl --output $APOC_PLUGIN_FILENAME $APOC_PLUGIN_URL
12+
fi
13+
514
chmod 0644 neo4j/plugins/*.jar
615
ls -la neo4j/plugins

0 commit comments

Comments
 (0)