Skip to content

Commit

Permalink
Remove BOLT from neo4j Setup requirement (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 authored Oct 11, 2023
1 parent e533bf6 commit 7bd9bca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Alternatively, you can use the dockerfile with
Some features like Gap Analysis require a neo4j DB running you can start this with
<pre>make docker-neo4j</pre>
enviroment varaibles for app to connect to neo4jDB (default):
- NEO4J_BOLT_URL (bolt://neo4j:password@localhost:7687)
- NEO4J_URL (neo4j//neo4j:password@localhost:7687)

To run the web application for production you need gunicorn and you can run from within the cre_sync dir
<pre>make prod-run</pre>
Expand Down
2 changes: 1 addition & 1 deletion application/database/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def instance(self):
self.__instance = self.__new__(self)

config.DATABASE_URL = (
os.getenv("NEO4J_BOLT_URL") or "bolt://neo4j:password@localhost:7687"
os.getenv("NEO4J_URL") or "neo4j://neo4j:password@localhost:7687"
)
return self.__instance

Expand Down

0 comments on commit 7bd9bca

Please sign in to comment.