4J Heroku配置错误?

2024-04-19 13:17:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用bulbs在Heroku上安装Neo4J应用程序。它在本地运行良好,但当我将其部署到heroku上时,会在以下代码中引发错误部分:

#heroku config:get NEO4J_URL
#http://user:password@instance.ip/
try:
    cfg = Config(instance.ip,user,password)
    g = Graph(cfg)
except: 
    return "OOPS! ERROR CONFIGURING GRAPH!"

我该怎么办?你知道吗

我也试过cfg.set_neo4j_heroku(),但没用。你知道吗


Tags: instance代码ipconfig应用程序getheroku部署