mvellandi

mvellandi

Exploring Graphs with Elixir: Installing Neo4j (p.141)

Exploring Graphs with Elixir by @tonyhammond: P.181 — Ch 5 > Creating the PropertyGraph Project

For anyone curious about installing Neo4j or experiencing issues.
There’s a “Neo4j Desktop” which includes “Enterprise Edition”, and there’s a “Community Edition” which I chose.

For Mac, I used this Homebrew formula
Also brew install the listed openjdk version to avoid potential errors when starting neo4j.
I had a previous openjdk version installed which caused issues, so reinstalled.

If using APOC, you probably might need to enable it as a plugin.
For mac, I went to my installation directory at: $HOME/neo4j)
then move the “apoc-version-core.jar” file from the “labs” to the “plugins” directory.

Lastly, if you’re getting errors, you may need to modify the neo4j configuration file to allow security settings for external plugins/other full database access
Mac with Homebrew: $HOME/neo4j/conf/neo4j.conf

I added this line after googling my error:

dbms.security.procedures.unrestricted=gds.*,apoc.*

First Post!

tonyhammond

tonyhammond

Author of Exploring Graphs with Elixir

Hi mvellandi:

Am late to this forum but will be going back though your earlier comments. And thanks for posting those. Let me start here anyway. :slight_smile:

So, I had been keping (brief) notes on server installation back to an appendix which we didn’t include in the beta. I thought I had also included something about APOC installation there but now see that I haven’t. Must have made a mental note and then not followed up. But perhaps I could have also said something in the text. I just saw that I added something similar for the n10s library in Chapter 11:

Installation is very simple. You just need to copy the neosemantics jar file into the plugins folder of your local Neo4j instance, update the Neo4j config file, and restart the server. For details, see the Installation guidelines.

Btw, I didn’t know you could install Neo4j using brew. Very cool. Also I did have to upgrade my openjdk for the latest Neo4j.

One thing I haven’t discussed in the book are the UIs for the various graph databases which can be very helpful in visualizing the graphs. I guess I was more focused on interacting with graph databases from an Elixir perspective only, and mainly from IEx. And so I didn’t talk about jumping between different tools which certainly allows for a much better understanding.

Where Next?

Popular Pragmatic Bookshelf topics Top

New
jon
Some minor things in the paper edition that says “3 2020” on the title page verso, not mentioned in the book’s errata online: p. 186 But...
New
belgoros
Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84: bundle exec sequel...
New
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
New
bjnord
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
New
dachristenson
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New

Sub Categories: