Last active
August 29, 2015 14:06
-
-
Save mlocher/4f3dcb35c411f7e5d4bd to your computer and use it in GitHub Desktop.
Neo4j - Download and start Neo4j on e.g. a Codeship build box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
VERSION="2.1.4" | |
PWD=`pwd` | |
cd ~/ | |
wget -O neo4j-community.tar.gz http://neo4j.com/artifact.php?name=neo4j-community-${VERSION}-unix.tar.gz | |
tar -xzf neo4j-community.tar.gz | |
# configure neo4j to run on testing ports (7476 + 7475) | |
sed -i s/7474/7476/g ~/neo4j-community/conf/neo4j-server.properties | |
sed -i s/7473/7475/g ~/neo4j-community/conf/neo4j-server.properties | |
~/neo4j-community/bin/neo4j start | |
cd $PWD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment