Giter VIP home page Giter VIP logo

neo_generate's Introduction

Welcome to NeoGenerate

This Project allows you to quickly define a graph and generate tab separated files. These files will imported into the Neo4j using the Neo4j Batch Importer

Installation

Make sure prerequisites (maven, java, ruby) are installed (see below) then starting from a Project directory:

Step 1: Install Batch Importer

See maxdemarzi.com/2012/02/28/batch-importer-part-1/ for a detailed guide.

Quick Steps:

git clone https://github.com/maxdemarzi/batch-import
cd batch-import
mvn clean compile assembly:single
cd ..

Step 2: Install this application

git clone https://github.com/maxdemarzi/neo_generate.git
cd neo_generate
gem install bundler
bundle install
rake neo4j:install
rake neo4j:create
rake neo4j:load
rake neo4j:start

Customizing the graph

Open up neo_generate.rb and alter the nodes, relationships and sizes.

Prerequisites

On Ubuntu:

Install Basics:

sudo apt-get install build-essential wget

Install Java:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Install Maven:

sudo apt-get install maven2

or for Maven 3.0.4

wget http://www.gtlib.gatech.edu/pub/apache/maven/binaries/apache-maven-3.0.4-bin.tar.gz
tar -zxf apache-maven-3.0.4-bin.tar.gz
sudo cp -R apache-maven-3.0.4 /usr/local
sudo ln -s /usr/local/apache-maven-3.0.4/bin/mvn /usr/bin/mvn

Install Ruby:

sudo apt-get install libxslt-dev libxml2-dev libmysql-ruby libmysqlclient-dev libreadline-dev 
libcurl4-openssl-dev openssl libreadline6 libreadline6-dev curl git-core zlib1g 
zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf 
libc6-dev ncurses-dev automake libtool bison subversion 

curl -L https://get.rvm.io | bash -s stable
rvm install 1.9.3

neo_generate's People

Contributors

maxdemarzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

neo_generate's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.