File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ This repository contains Jupyter Notebooks for each of the https://neo4j-contrib
25
25
26
26
== Run the notebooks locally
27
27
28
- If we want to run the notebooks locally you'll need to first install some required libraries.
28
+ If we want to run the notebooks locally we need to setup Python and Neo4j environments.
29
+
30
+ === Python
29
31
30
32
I use https://virtualenv.pypa.io/en/stable/[virtualenv^] but that's just one option.
31
33
We can run the following set of commands to create a Python environment with the libraries installed:
@@ -36,12 +38,23 @@ virtualenv a
36
38
pip install -r requirements.txt
37
39
```
38
40
41
+ === Neo4j
42
+
43
+ We'll also need to have a Neo4j server, with the Graph Algorithms library installed, running locally.
44
+ The easiest way to do this is to download the Neo4j Desktop from http://neo4j.com/download[neo4j.com/download^].
45
+
46
+ Once we've done that we can create a project and then install Graph Algorithms from the Plugins section.
47
+
48
+ image::images/installation.png[]
49
+
50
+
51
+ === Launching Jupyter
52
+
39
53
We're now ready to launch the Jupyter server.
40
54
41
55
The notebooks assume that there's a Neo4j server running at `localhost:7687` with username `neo4j` and password `neo`.
42
56
You can override these values with environment variables.
43
57
44
-
45
58
```
46
59
NEO4J_HOST="bolt://localhost:7687" NEO4J_USER="neo4j" NEO4J_PASSWORD="neo" jupyter notebook
47
60
```
You can’t perform that action at this time.
0 commit comments