- Log into vpn.ucsd.edu (required for accesing neo4j sandbox)
- SSH to dsmlp-login.ucsd.edu
- Find
launch-neo4j.sh
scriptwhich launch-neo4j.sh
- Launch the
launch-neo4j.sh
script return from step 3/software/common64/dsmlp/bin/launch-neo4j.sh
- Wait for the shell output
pod is running with IP:XXX
- Take first url in shell output (e.g., http://128.54.65.160:16585) and paste into your browser url. Wait for "connect to neo4j" page to load
- Change connect url to use the second url from the shell output (e.g., neo4j://128.54.65.160:16586)
- username: neo4j; password: (ask staff)
- press
Connect
- Additional users can access the login url by pasting that first url in shell output into their browser
To terminate pod/processes
exit
Each user on dsmlp-login has permission to launch their own neo4j database by following the steps aboving (executing launch-neo4j.sh
).
If multiple users want to work on a shared database, one user in the group can launch neo4j and provide both urls from that luanch to other users in the group in order for them to access the same database.
After connecting with neo4j, you should see Connected to Neo4j
on your screen. To run something, select guide link in middle panel, go to second "page", scroll down to bottom panel, click in the box with "CREATE" text (will copy it to middle panel), click "play" button at top right
cd {root}/neo4j/import
cp {csv_path} .
From sandbox in your browser, execute
LOAD CSV FROM 'file:///{csv_filename}' AS row
RETURN count(row)