forked from neo4j-contrib/graphgist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-graphgist.sh
More file actions
26 lines (16 loc) · 883 Bytes
/
Copy pathinstall-graphgist.sh
File metadata and controls
26 lines (16 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# How to run Neo4j GraphGists locally?
git clone https://github.com/neo4j-contrib/rabbithole
cd rabbithole
mvn clean test-compile
mvn exec:java&
sleep 20
# GraphGists only run in your browser, so in your asciidoc-file use the attribute at the top :neo4j-version: local
# and it will connect to http://localhost:8080 for the neo4j-console
# If you don't trust us on this :) you can also run the graphgist locally
cd ..
git clone https://github.com/neo4j-contrib/graphgist
cd graphgist
sed -e 's/:neo4j-version:.*/:neo4j-version: local/g' gists/syntax.adoc > gists/my-graph-use-case.adoc
python -m SimpleHTTPServer&
open http://localhost:8000/index.html?http%3A%2F%2Flocalhost%3A8000%2Fgists%2Fmy-graph-use-case.adoc
# you can put your graphgist files e.g. in graphgist/gists and access them with http://localhost:8000/gists/my-graph-use-case.adoc to paste into the URL-box