Skip to content

Instantly share code, notes, and snippets.

@davebrace
Last active May 3, 2021 23:56
Show Gist options
  • Save davebrace/09d580003815088744be to your computer and use it in GitHub Desktop.
Save davebrace/09d580003815088744be to your computer and use it in GitHub Desktop.
Install Neo4j (2.1.5) on Codeship running on specific ports
# Put the following lines in your Codeship Setup section
## Install Neo4j
wget -O neo4j-community-2.1.5.tar.gz http://neo4j.com/artifact.php?name=neo4j-community-2.1.5-unix.tar.gz
tar -xzvf neo4j-community-2.1.5.tar.gz
# configure neo4j to run on testing ports (7476 + 7475)
sed -i s/7474/7476/g neo4j-community-2.1.5/conf/neo4j-server.properties
sed -i s/7473/7475/g neo4j-community-2.1.5/conf/neo4j-server.properties
neo4j-community-2.1.5/bin/neo4j start
bundle exec rspec spec --tag data_store:neo4j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment