指数
0
Watch 7 Star 9

码云极速下载 / neo4jJava

加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/neo4j/neo4j
Neo是一个网络——面向网络的数据库——也就是说,它是一个嵌入式的、基于磁盘的、具备完全的事务特性的Java持久化引擎,但是它将结构化数据存储在网络上而不是表中 展开 收起

克隆/下载
Loading...
README.asciidoc

Neo4j: Graphs for Everyone

Neo4j is the world’s leading Graph Database. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions. The programmer works with a flexible network structure of nodes and relationships rather than static tables — yet enjoys all the benefits of enterprise-quality database. For many applications, Neo4j offers orders of magnitude performance benefits compared to relational DBs.

Learn more on the Neo4j website.

Using Neo4j

Neo4j is available both as a standalone server, or an embeddable component. You can download or try online.

Extending Neo4j

We encourage experimentation with Neo4j. You can build extensions to Neo4j, develop library or drivers atop the product, or make contributions directly to the product core. You’ll need to sign a Contributor License Agreement in order for us to accept your patches.

For a quick overview of the components in this repository, you can read the RepositoryOverview.asciidoc.

Note
This GitHub repository contains mixed GPL and AGPL code. Our Community edition (in the community/ directory) is GPLv3. Our Enterprise edition (enterprise/) is differently licensed under the AGPLv3.

Dependencies

Neo4j is built using Apache Maven version 3.3 and a recent version of supported VM. Bash and Make are also required. Note that maven needs more memory than the standard configuration, this can be achieved with export MAVEN_OPTS="-Xmx512m".

OS X users need to have Homebrew installed.

With brew on OS X

brew install maven

Please note that we do not support building Debian packages on OS X.

With apt-get on Ubuntu

apt install maven openjdk-8-jdk

On top of that, to build Debian packages and Neo4j Desktop:

apt install debhelper devscripts dos2unix dpkg make xmlstarlet
# You will need a license for install4j, which is only needed for Neo4j Desktop
curl -O http://download-keycdn.ej-technologies.com/install4j/install4j_linux_6_1_4.deb
dpkg -i install4j_linux_6_1_4.deb

Building Neo4j

  • A plain mvn clean install will only build the individual jar files.

  • Test execution is, of course, part of the build.

  • To add execution of integration tests, use: mvn clean install -DrunITs.

  • In case you just want the jars, without running tests, this is for you: mvn clean install -DskipTests.

  • To skip building the browser module, use -DskipBrowser (note that you might not be able to build the server without it).

  • To build product packages, do export PATH="bin:$PATH" && make clean all in the packaging directory after building artifacts with Maven

  • To build the documentation see the Neo4j manual.

  • When building on Windows, use -Dlicensing.skip to avoid problems related to line endings.

  • The license header check can be skipped by appending the following to the command line: -Dlicense.skip=true.

  • If you are running into problems building on Windows you can try building Neo4j in a Ubuntu virtual machine.

  • You may need to increase the memory available to Maven: export MAVEN_OPTS="-Xmx512m".

Running Neo4j

After running a mvn clean install cd into packaging/standalone/target and extract the version you want, then

bin/neo4j start

in the extracted folder to start Neo4j on localhost:7474. On Windows you want to run

bin\Neo4j.bat

instead.

Or, if you are not interested in the tarballs and just want to run Neo4j you can instead run a mvn clean install -DminimalBuild and then cd into community/server and run

mvn clean compile exec:java

to start Neo4j.

Licensing

Neo4j Community Edition is an open source product licensed under GPLv3. Neo4j Enterprise Edition offers all the functionality of Community Edition plus Enterprise-specific features. In source code form, Neo4j Enterprise Edition is licensed under AGPLv3. When packaged as a binary, Enterprise Edition includes additional commercial / closed-source components and requires a commercial license from Neo4j Sweden AB or one of its affiliates.

点评 ( 0 )

你可以在登录后,发表评论

搜索帮助