Skip to content

Commit e1dadd7

Browse files
author
Mark Needham
committed
more instructions
1 parent ee64bda commit e1dadd7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

README.adoc

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ This repository contains Jupyter Notebooks for each of the https://neo4j-contrib
2525

2626
== Run the notebooks locally
2727

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
2931

3032
I use https://virtualenv.pypa.io/en/stable/[virtualenv^] but that's just one option.
3133
We can run the following set of commands to create a Python environment with the libraries installed:
@@ -36,12 +38,23 @@ virtualenv a
3638
pip install -r requirements.txt
3739
```
3840

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+
3953
We're now ready to launch the Jupyter server.
4054

4155
The notebooks assume that there's a Neo4j server running at `localhost:7687` with username `neo4j` and password `neo`.
4256
You can override these values with environment variables.
4357

44-
4558
```
4659
NEO4J_HOST="bolt://localhost:7687" NEO4J_USER="neo4j" NEO4J_PASSWORD="neo" jupyter notebook
4760
```

images/installation.png

45.6 KB
Loading

0 commit comments

Comments
 (0)