Created
August 21, 2014 12:49
-
-
Save tkroman/7a4b207edc7102387ee5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void bootstrapWebGUI(final String host, final Integer port) { | |
final Configurator cfg = new ServerConfigurator((GraphDatabaseAPI) db); | |
cfg.configuration().setProperty(Configurator.WEBSERVER_PORT_PROPERTY_KEY, port); | |
cfg.configuration().setProperty(Configurator.WEBSERVER_ADDRESS_PROPERTY_KEY, host); | |
webServer = new WrappingNeoServer((GraphDatabaseAPI) db, cfg); | |
webServer.start(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment