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

telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
New
johnp
Hi Brian, Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
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
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
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
brunogirin
When installing Cards as an editable package, I get the following error: ERROR: File “setup.py” not found. Directory cannot be installe...
New
mcpierce
@mfazio23 I’ve applied the changes from Chapter 5 of the book and everything builds correctly and runs. But, when I try to start a game,...
New

Other popular topics Top

malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
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
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New

Sub Categories: