Git Product home page Git Product logo

neo4j-custom-ui's Introduction

RD-Switchboard Custom UI Neo4j Repository

This repository contains a binaries, patch and sources for Neo4j 2.2.4 database with Custom UI used in RD-Switchboard project

Requirements

This Repository has been compiled in Ubuntu Linux 14.04 and will require Linux or Unix system. The neo4j-browser can not be compiled in Windows enviroments.

This Repository will require Java 1.7 and Apache Maven 3.0.5. The neo4j-browser will also require Node.js and npm to be installed locally.

Build and Install

There is several ways to build and install Neo4j from this repository.

Build from sources

To build Neo4j from sources provided in this repository, you can use Maven. You will need to have Maven, Java and Node.Js installed in order to do that.

To build whole repository, execute (from a main repository folder):

mvn package

To install repository into your local Maven repository, execute (from a main repository folder):

mvn install

Please refer to original Neo4j documentation for other installiation options. The documentation can be found in the Neo4j Git Repository

Use existing binaries and build only neo4j-browser

The whole repository building could be a long process. To save time, you can build only neo4j-browser library and download rest of the original Neo4j package. This package can be downloaded from the official Neo4j Web site. For you convenience we have also provded a copy of this package in this archive. It is located in dist/neo4j-community-2.2.4-unix.tar.gz

To download and install the original Neo4j 2.2.4 into your home directory, execute:

wget http://neo4j.com/artifact.php?name=neo4j-community-2.2.4-unix.tar.gz -O neo4j-community-2.2.4-unix.tar.gz
tar -xzvf neo4j-community-2.2.4-unix.tar.gz

You will need to replace neo4j-community-2.2.4/system/lib/neo4j-browser-2.2.4.jar with customised version.

To do that, execute (from a main repository folder):

mvn package -pl :neo4j-browser -am

If compile process will success, compiled libaray will appear in ${main repository folder}/community/browser/target/neo4j-browser-2.2.4-SNAPSHOT.jar rename it into neo4j-browser-2.2.4.jar and compile it into ${Neo4j home}/system/lib/:

cp ${repository.folder}/community/browser/target/neo4j-browser-2.2.4-SNAPSHOT.jar ${neo4j.home}/system/lib/neo4j-browser-2.2.4.jar

replace ${repository.folder} with actuall path to your repository and ${neo4j.home} to the actual path to the folder where you have installed Neo4j.

Apply a patch to original Neo4j

We have provided a patch file what can be applied to the original Neo4j repository. The patch can be found in patchs/rd-switchboard-custom-ui.patch. To apply it, clone the original Neo4j Repository, copy patch into repository folder and apply:

# Clone the repositiry
git clone https://github.com/neo4j/neo4j.git

# switch to the repository folder
cd neo4j

# Switch it to 2.2.4 version
git checkout 2.2.4

# copy patch to the repository folder and check it
git apply --check rd-switchboard-custom-ui.patch

# apply a patch if check does not show any error
git apply --check rd-switchboard-custom-ui.patch

# clean build new repository
mvn clean package

Please refer to original Neo4j documentation for other installiation options. The documentation can be found in the Neo4j Git Repository

Configuration

All Neo4j configuration is located in ${neo4j.home}/conf folder.

The neo4j-browser will be disabled by default. To enable it, uncomment this line in conf/neo4j-server.properties file:

org.neo4j.server.webserver.address=0.0.0.0

To change Neo4j browser port, modify this line in conf/neo4j-server.properties file:

org.neo4j.server.webserver.port=7474

To limit transactions execution time, add this line to the end of conf/neo4j-server.properties file:

org.neo4j.server.transaction.timeout=5

To enable database upgrade from the previous version, uncomment this line in conf/neo4j.properties file:

allow_store_upgrade=true

To make database read-only, add this line to the end of conf/neo4j.properties file:

read_only=true

Start and Stop

To start Neo4j, execute (from a Neo4j home folder):

./bin/neo4j start

To stutdown the server, execute:

./bin/neo4j stop

neo4j-custom-ui's People

Contributors

aaryani avatar wizman777 avatar

Watchers

 avatar  avatar  avatar

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.