You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
311 B
Python

from os import getenv
from neomodel import config
pw = getenv('NEO4J_PW')
user = getenv('NEO4J_USER')
host = getenv('NEO4J_HOST')
port = getenv('NEO4J_PORT', 7687)
config.DATABASE_URL = f'bolt://{user}:{pw}@{host}:{port}'
from .api import attach_to_flask
def setup(app, socketio):
attach_to_flask(app)