Setting up Neo4j - Plateful/plateful-mobile GitHub Wiki

##Local Set-Up Install Neo4j: brew install neo4j

Run Neo4j: neo4j start This will run Neo4j at localhost:7474. Navigating to that address will bring up a graphical interface for visualizing and interacting with the database.

##Production Set-up To create a neo4j database hosted on Azure, follow the steps below (you'll need to have the Azure cli installed):

  1. Set up an SSH key: openssl req -x509 -nodes -days 365 -newkey rsa:2084 -keyout <INSERT_KEY_NAME>.key -out <INSERT_KEY_NAME>.pem
  2. Follow the prompts to complete SSH key creation.
  3. Create a Virtual Machine: azure vm create <INSERT_VM_NAME> -o vmdepot-32027-1-1 -l "West US" <INSERT_USER_NAME> <INSERT_PASSWORD> --ssh 22
  4. Create an endpoint for running the neo4j database (default is port 7474): azure vm endpoint create-multiple <INSERT_VM_NAME> 7474:7474