我正在使用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()
但没有用。
答案 0 :(得分:0)
从最新版本开始,Heroku Addon不支持出于安全原因将Groovy脚本发送到服务器。试试Cypher吧? http://docs.neo4j.org/chunked/snapshot/cypher-query-lang.html