Update environment variables with Neo4j values - metadatacenter-attic/cedar-docs GitHub Wiki
Access the Neo4j browser
Once the neo4j is installed and started, visit the Neo4j browser application using your browser:
http://localhost:7474/
Log in with the default credentials, which is usually neo4j/neo4j
Help - available commands
You can get a list of available commands by typing :help into the browser command line
Change neo4j password
Type :server change-password , and change the password into a safe one.
Get the Neo4j connection parameters
You will need to set two environment variables. These can be easily found in the above started Neo4j browser. Follow these steps:
- Execute the query
MATCH (n) RETURN n - Click the
Codetab in the result panel - Copy and save the value of the
Request->Authorizationstring. This will be the Neo4j auth string - Copy and save the value of the
Response->Data->"commit". From this we can derive the Neo4j transaction REST endpoint URL
Modify the environment variables
Open your .bash_profile with your editor of choice
Set the two variables:
CEDAR_NEO4J_AUTH_STRINGshould be set to the exact auth string you just copied, including the "Basic" string as wellCEDAR_NEO4J_TRANSACTION_URLshould be the URL copied above, but without the transaction id. Just delete the number before/commit/