Skip to content
Pull request Compare This branch is 3272 commits ahead, 762 commits behind eldersantos:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
neo4j-home/conf
src
CHANGES.txt
LICENSE.txt
LICENSES.txt
NOTICE.txt
README.txt
build.gradle
pom.xml

README.txt

neo4j-server project
====================
 
This project contains the runnable neo4j server component. 

build-test-run cycle
--------------------

When building for the first time, do:

`mvn clean package -P initial-build`

Subsequent builds can simply:

`mvn clean package`

Finally, run the server using:

`mvn exec:java`



Webadmin browser tests
----------------------

To run the webdriver tests for webadmin:

`mvn clean test -Dtests=web`

Or, to run all tests (both unit, functional and webdriver):

`mvn clean test -Dtests=all`

You can run the tests under different browsers using maven profiles. By default, Firefox is used. 
Available profiles are: 
  -Pie for internet explorer
  -Pchrome for chrome.
  
Please note that the chrome driver requires an installed binary on your system, which you can find here: http://code.google.com/p/chromium/downloads/list

Install it to a location of your choice, and tell the tests where to find it using the 'webdriver.chrome.driver' property:

`-Dwebdriver.chrome.driver=/path/to/chromedriver`


Webadmin development
--------------------

Webadmin builds during the compile and process-classes phases. If you are doing webadmin development work, you can make your changes auto-deploy, so you don't have to restart the server. Run the two commands below in separate consoles.

Start the server (let this get the server started before issuing other commands):

`mvn clean compile exec:java -Pneodev`

Auto-deploy changes to webadmin files:

`mvn compile -Dbrew.watch=true -Pneodev`

Then go to http://localhost:7474/webadmin/dev.html 

The dev.html file loads each js file individually and unminified, which makes debugging a lot easier. 
Something went wrong with that request. Please try again.