Neo4j: Difference between revisions

m copyedit, add lead section, tag with {{Expansion}}
SZanko (talk | contribs)
m Add example config for local development
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


== NixOS ==
== NixOS ==
=== Example configuration for local development with out SSL certs ===
<syntaxhighlight lang="nixos" line="1">services.neo4j= {
  enable = true;
  bolt = {
    tlsLevel = "DISABLED";
  };
  https = {
    enable = false;
  };
};</syntaxhighlight>


=== Setting the initial password ===
=== Setting the initial password ===


<syntaxHighlight lang="bash">
<syntaxhighlight lang="bash">
export NEO4J_CONF=/var/lib/neo4j/conf/
sudo su
neo4j-admin set-initial-password mySuperSecretPassword
export NEO4J_HOME=/var/lib/neo4j/
</syntaxHighlight>
neo4j-admin dbms set-initial-password mySuperSecretPassword
</syntaxhighlight>


Logging in using <code>cypher-shell</code> should now function.
Logging in using <code>cypher-shell</code> should now function.