Giter VIP home page Giter VIP logo

neo4j-instance's Introduction

Neo4J Instance

This bash script was mainly written to manage different instances of neo4j on a development system. I decided to make it available for people who find themselves in the same boat. It doesn't require much, since it is written totally in bash script. Make sure you have wget, or curl installed and you should be all set.

###USAGE

  help                           outputs this document
  create [option]                create a new database instance
    options:
          -d <db name>           sets the name of the neo4j instance
          -t <neo4j type>        sets the neo4j type (community | enterprise)
          -v <neo4j version>     sets neo4j version (default: 2.1.6)
  rename-db <port> <db name>     renames the db neo4j instance
  start <port>                   starts a neo4j instance
  stop <port>                    stops a neo4j instance
  destroy <port>                 destroys a database instance
  list                           list the different databases,
                                 with their ports and their status
  plugin list [port]             list the available plugins for neo4j
  plugin install <alias> <port>  installs a plugin
  plugin remove <alias> <port>   remove a plugin

###NEW STUFF

I have found some really useful plugins, that are created by a company called GraphAware. I am using about two of their plugins, but I am giving a full listing of what they offer. I am using their TimeTree in everything I do now.

neo4j-instance's People

Contributors

dotdotdotpaul avatar keturn avatar mkompanets avatar niterain avatar salimm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

neo4j-instance's Issues

declare -A is not a valid flag in bash on Mac OSX

I get the following when I run commands in this binary:

/Users/AndrewNichols/bin/neo4j-instance: line 339: declare: -A: invalid option

I believe the equivalent on Mac is -a. Maybe you can detect the OS?

The output of help declare on my computer is:

declare: declare [-afFirtx] [-p] [name[=value] ...]
    Declare variables and/or give them attributes.  If no NAMEs are
    given, then display the values of variables instead.  The -p option
    will display the attributes and values of each NAME.

    The flags are:

      -a        to make NAMEs arrays (if supported)
      -f        to select from among function names only
      -F        to display function names (and line number and source file name if
        debugging) without definitions
      -i        to make NAMEs have the `integer' attribute
      -r        to make NAMEs readonly
      -t        to make NAMEs have the `trace' attribute
      -x        to make NAMEs export

    Variables with the integer attribute have arithmetic evaluation (see
    `let') done when the variable is assigned to.

    When displaying values of variables, -f displays a function's name
    and definition.  The -F option restricts the display to function
    name only.

    Using `+' instead of `-' turns off the given attribute instead.  When
    used in a function, makes NAMEs local, as with the `local' command.

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.