Clone this repository
$ git clone https://github.com/hubmapconsortium/asctb-figures.git
- Run the docker command inside the asctb-figures directory to initiate the docker instance:
$ cd asctb-figures
$ mkdir uberon_cl
$ docker run -d -p:7474:7474 -p 7687:7687 -v $(pwd)/uberon_cl:/var/lib/neo4j/import/ \
--env-file ./src/resources/env.list \
virtualflybrain/vfb-prod:semwebtest
- Open the web browser (e.g., Chrome, Safari or Firefox) and go to http://localhost:7474.
-
Click the "Connect" button to connect to the Neo4j instance running through docker. No username or password needed.
-
Enter the command below to the Neo4j command prompt:
CALL ebi.spot.neo4j2owl.owl2Import('file://src/resources/uberon_cl_bm_relaxed_add_sub.owl','https://raw.githubusercontent.com/VirtualFlyBrain/neo4j2owl/master/src/test/resources/minimal-config.yaml')
- The steps are similar to the above. The only difference is you need to change the port number in the tunnelling parameter.
$ mkdir ccf_as_ct
$ docker run -d -p:7475:7474 -p 7688:7687 -v $(pwd)/ccf_as_ct:/var/lib/neo4j/import/ \
--env-file ./src/resources/env.list \
virtualflybrain/vfb-prod:semwebtest
-
Open another tab in the web browser to http://localhost:7475.
-
Check the Connect URL paramter and make sure it points to the second docker instance
bolt://localhost:7688
-
Enter the command below to the Neo4j command prompt:
CALL ebi.spot.neo4j2owl.owl2Import('file://src/resources/CCF_AS_CT.owl','https://raw.githubusercontent.com/VirtualFlyBrain/neo4j2owl/master/src/test/resources/minimal-config.yaml')