Skip to content

Commit

Permalink
[[ setup ]] new neo4j debian repo, more generic versions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoheilKhodayari committed May 23, 2022
1 parent fad37af commit da11f7c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ Below is the quick installation guide. Please see [here](docs/installation.md) f
### Step 1: Installing Python/NodeJS Dependencies
In the project root directory, run:
```sh
$ cd installation
$ ./install_dependencies.sh
$ ./installation/install_dependencies.sh
```

### Step 2: Setup Neo4j
Expand All @@ -137,6 +136,9 @@ $ # for macos, neo4j 3.5.x
$ ./macos_neo4j_installation.sh
```

If you encountered any errors, please checkout the [Neo4j Debian Packages](https://debian.neo4j.com/) repository for potential changes.


Then, copy the `example.env` and rename it to `.env`.
- Set your operating system:
- `PLATFORM=linux`
Expand Down
2 changes: 2 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ $ # for macos, neo4j 3.5.x
$ ./macos_neo4j_installation.sh
```

If you encountered any errors, please checkout the [Neo4j Debian Packages](https://debian.neo4j.com/) repository for potential changes.

For more information, see [here](https://www.alibabacloud.com/blog/installing-neo4j-on-ubuntu-16-04_594570), or [here](https://neo4j.com/developer/kb/using-apt-get-to-download-a-specific-neo4j-debian-package/).


Expand Down
10 changes: 7 additions & 3 deletions installation/linux_neo4j_installation.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash

wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.org/repo stable/' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
# neo4j version family
# see https://debian.neo4j.com/ for possible choices
VERSION='3.5'

wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.com stable' $VERSION | sudo tee /etc/apt/sources.list.d/neo4j.list
sudo apt-get update
sudo apt-get install neo4j=3.5.9
sudo apt-get install neo4j

0 comments on commit da11f7c

Please sign in to comment.