私はherokuでアプリケーションをデプロイしようとしています。私はrevelフレームワークを使用していますが、(問題があるかどうかはわかりません)前にフレームワークを使用していなかったのですが、昨日私は自分のコードをフレームワークに移しました。 Webアプリケーションはローカルで動作しますが、herokuにはデプロイできません。私は「gitのプッシュHerokuのマスター」私は何をする必要があるかHeroku上でrevelアプリケーションをデプロイ
Counting objects: 46, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (41/41), done.
Writing objects: 100% (46/46), 135.45 KiB | 0 bytes/s, done.
Total 46 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Go app detected
remote: -----> Checking Godeps/Godeps.json file.
remote: -----> Using go1.6.3
remote: !! Installing package '.' (default)
remote: !!
remote: !!
remote: -----> Running: godep go install -v -tags heroku .
remote: can't load package: package ndc-console: no buildable Go source files in /tmp/tmp.XI5m2PPe7K/.go/src/ndc-console
remote: godep: go exit status 1
remote: ! Push rejected, failed to compile Go app.
remote:
remote: ! Push failed
remote: Verifying deploy....
remote:
remote: ! Push rejected to ndc-console.
remote:
To https://git.heroku.com/ndc-console.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/ndc-console.git'
任意のアイデアをしようとすると、
は、これが出力されます? ありがとうございます。
バイナリをビルドして[スラッグを割り当てて公開する](https://devcenter.heroku.com/articles/platform-api-deploying-slugs)。この方法で実行されたデプロイメントでは、約3秒かかります。 – thwd
私はいくつかの変更を加えていますが、次に試してみます。どうもありがとう@thwd –