This project is a Chocolatey package to install the Neo4j Community Edition onto a Windows based computer.
The chocolate package can be found at https://chocolatey.org/packages/neo4j-community
- Install Chocolatey https://chocolatey.org/
- Install OpenJDK 8 or Oracle Java 8 http://neo4j.com/docs/stable/deployment-requirements.html#_software
- Install this package. This package requried the -prelease flag
choco install neo4j-community -version 3.1.0
- Open a browser to http://localhost:7474
The package supports the following parameters;
/Install:<Install Path>
Installs Neo4j to the specified directory. The default is to install to <Chocolatey Bin Root>\neo4j-community
which is typically C:\tools\Neo4jCommunity
/ImportNeoProperties:<Path to file>
Copies the file specified to <Install Path>\conf\neo4j.conf
. This is a quick way to configure the Neo4j server prior to service start. Information about the configuration file can be found at http://neo4j.com/docs/stable/server-configuration.html
/ImportServiceProperties:<Path to file>
Copies the file specified to <Install Path>\conf\neo4j-wrapper.conf
. This is a quick way to configure the Neo4j Windows Service prior to service start. Information about the configuration file can be found at http://neo4j.com/docs/stable/server-performance.html
/WindowsServiceName:<Name of Windows Service>
The name of the windows service which will be installed.
Note - This setting overrides the ServiceProperties file
/HTTPEndpoint:<IP Address or hostname>:<Port>
The HTTP Endpoint that will be used by the Neo4j server e.g. localhost:7474
Note - This setting overrides the NeoProperties file
/HTTPSEndpoint:<IP Address or hostname>:<Port>
The HTTPS Endpoint that will be used by the Neo4j server e.g. 0.0.0.0:7473
Note - This setting overrides the NeoProperties file
Example usage;
choco install neo4j-community -version 3.1.0 -packageParameters "/Install:C:\Apps\Neo /ImportNeoProperties:C:\Config\MyNeoProperites.txt /ImportNeoServerProperties:C:\Config\MyNeoServerProperites.txt"
This command will install Neo4j to C:\Apps\Neo
, import the neo4j.properties file from C:\Config\MyNeoProperites.txt
and the neo4j-server.properties file from C:\Config\MyNeoServerProperites.txt