我有一个看起来像这样的回购
MAIN
|
|--AndroidApp
|--ServerApp
现在我希望在Heroku中部署serverApp。任何想法,如果有可能,如何做到这一点?
目前我尝试了
heroku git:remote -a afternoon-mesa-61125
但这产生了
remote: Compressing source files... done.
remote: Building source:
remote:
remote:
remote: ! Push rejected, no Cedar-supported app detected
remote: HINT: This occurs when Heroku cannot detect the buildpack
remote: to use for this application automatically.
remote: See https://devcenter.heroku.com/articles/buildpacks
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to afternoon-mesa-61125.
remote:
To https://git.heroku.com/afternoon-mesa-61125.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/afternoon-mesa-61125.git'
请帮助
谢谢
答案 0 :(得分:0)
为了找出问题所在,我跑了
Try
Dim Chickenz As String
Dim MyDogTank As String
'Set up loop
For cn As Integer = 1 To DGV1.RowCount
Dim variable1 As Date = DGV1.Rows(cn - 1).Cells(1).Value
Using conn1 As New SqlConnection(connstring)
conn1.Open()
Using comm1 As New SqlCommand (sqlcommand, conn1)
comm1.Parameters.AddWithValue("@Parameter", variable1)
Dim dt As New DataTable
Dim sql As New SqlDataAdapter(comm1)
sql.Fill(dt)
For Each row As DataRow In dt.Rows
Chickenz = row.Item("col2")
MyDogTank = row.Item("col1")
'--------Sql to check
Using conn2 As New SqlConnection(connstring)
conn2.Open()
Using comm2 As New SqlCommand(sqlcommand, conn2)
comm2.Parameters.AddWithValue("@Job", Chickenz)
Dim Eggz As New DataTable
Dim Yolk As New SqlDataAdapter(comm2)
Yolk.Fill(Eggz)
If Eggz.Rows.Count >= 1 Then
MsgBox("warningbox")
End If
End Using
conn2.Close()
End Using
Next
End Using
conn1.Close()
End Using
Next
Catch ex As Exception
MsgBox(ex.ToString)
End Try
命令输出更具描述性的错误。
我希望这有助于某人
P.S。我的错误是我
gunicorn server.wsgi:application
代替:
from whitenoise.django import DjangoWhiteNoise
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings")