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.

Popular Pragmatic Bookshelf topics Top

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
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
mikecargal
Title: Hands-On Rust (Chapter 11: prefab) Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New
lirux
Hi Jamis, I think there’s an issue with a test on chapter 6. I own the ebook, version P1.0 Feb. 2019. This test doesn’t pass for me: ...
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
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
s2k
Hi all, currently I wonder how the Tailwind colours work (or don’t work). For example, in app/views/layouts/application.html.erb I have...
New
New

Other popular topics Top

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
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
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
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New

Sub Categories: