我正在试图弄清楚如何将bokeh和heroku结合起来。 当我在本地运行下面的代码时,我得到以下输出:
through an instance 但是,在hereku中,我有一个空的浏览器页面。所以我不知道wha = ere是我的错。你能帮帮我吗?这是我使用的代码:
mytest.py
web: bokeh serve --port=$PORT --host=protected-sands-65334.herokuapp.com --host=* --address=0.0.0.0 --use-xheaders mytest.py
requirements.txt
Sub Delete_Rows()
Dim deleteRange As Range
For Each c In Range("B1:B20")
If c.Value = "text" Then
If deleteRange Is Nothing Then
Set deleteRange = c
Else
Set deleteRange = Union(c, deleteRange)
End If
End If
Next c
deleteRange.EntireRow.Delete
End Sub
Proctofile
{{1}}
答案 0 :(得分:0)
我通过删除描述会话的代码中的行并添加以下内容来使其工作:
curdoc().add_root(p)
另外,请注意包含运行散景服务器的命令的文件名应为 Procfile ,而不是其他任何内容(您键入 Proctofile )。