Skip to content

Instantly share code, notes, and snippets.

@mhoangvslev
Last active June 28, 2019 14:09
Show Gist options
  • Save mhoangvslev/98a9ffa2c750c6a72d33be9564492d60 to your computer and use it in GitHub Desktop.
Save mhoangvslev/98a9ffa2c750c6a72d33be9564492d60 to your computer and use it in GitHub Desktop.
# Create a folder with shared folders
mkdir config models database strategies plugins
# Download neo4j plugins
echo "Downloading neo4j plugins"
curl -L "https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.5.0.4/apoc-3.5.0.4-all.jar" > plugins/apoc-3.5.0.4-all.jar
curl -L "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar" > plugins/graph-algorithms-algo-3.5.4.0.jar
# Download prepared elements
echo "Setting up..."
curl "https://raw.githubusercontent.com/mhoangvslev/ArgosJS/master/database/strategies/KittyStrategies.js" > strategies/KittyStrategies.js
curl "https://raw.githubusercontent.com/mhoangvslev/ArgosJS/master/database/models/Kitty.js" > models/Kitty.js
curl "https://raw.githubusercontent.com/mhoangvslev/ArgosJS/master/config/argos-config-template.js" > config/argos-config.js
# Run docker image using docker-compose
curl "https://raw.githubusercontent.com/mhoangvslev/ArgosJS/master/docker-compose.yml" > docker-compose.yml;
export UID=$(id -u)
export GID=$(id -g)
docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment