Skip to content

Instantly share code, notes, and snippets.

@feststelltaste
Last active August 19, 2020 07:55
Show Gist options
  • Save feststelltaste/840376ab21743627e69d7e0edfcfa31a to your computer and use it in GitHub Desktop.
Save feststelltaste/840376ab21743627e69d7e0edfcfa31a to your computer and use it in GitHub Desktop.
Fitness Function for Detecting Cyclic Package Dependencies with Jupyter, jQAssistant and Neo4j
openjdk-8-jdk
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
wget https://github.com/feststelltaste/software-analytics/raw/master/notebooks/data/spring-petclinic/petclinic_joa_neo4j.dump
wget http://dist.neo4j.org/neo4j-community-3.5.8-unix.tar.gz
tar -xvf neo4j-community-3.5.8-unix.tar.gz
echo "dbms.connectors.default_listen_address=0.0.0.0" >> neo4j-community-3.5.8/conf/neo4j.conf
neo4j-community-3.5.8/bin/neo4j-admin set-initial-password neo4j
mkdir -p neo4j-community-3.5.8/data/databases/graph.db
neo4j-community-3.5.8/bin/neo4j-admin load --from=petclinic_joa_neo4j.dump --force
jupyter-server-proxy
ipython-cypher
#!/bin/bash
set -eux
neo4j-community-3.5.8/bin/neo4j start
exec "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment