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

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
mikecargal
Title: Hands-on Rust: question about get_component (page 295) (feel free to respond. “You dug you’re own hole… good luck”) I have somet...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
New
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
New
kolossal
Hi, I need some help, I’m new to rust and was learning through your book. but I got stuck at the last stage of distribution. Whenever I t...
New
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
Henrai
Hi, I’m working on the Chapter 8 of the book. After I add add the point_offset, I’m still able to see acne: In the image above, I re...
New
tkhobbes
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New
dachristenson
@mfazio23 Android Studio will not accept anything I do when trying to use the Transformations class, as described on pp. 140-141. Googl...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1033 17470 383
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
New
PragmaticBookshelf
Author Spotlight: Karl Stolley @karlstolley Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New

Sub Categories: