This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku login | |
# accountとpassを入力し、ssh keyの登録を行います。 | |
heroku create moge-sandbox -s cedar | |
#https://devcenter.heroku.com/articles/cedar | |
#アプリの作成を行います。stackにcedarを選択。 | |
#Creating moge-sandbox... done, stack is cedar | |
#http://moge-sandbox.herokuapp.com/ | git@heroku.com:moge-sandbox.git | |
git clone git@heroku.com:moge-sandbox.git | |
cd moge-sandbox | |
#このディレクトリにテスト用のアプリを展開 | |
ls | |
#Procfile bin dart-sdk pubspec.yaml | |
#こんな感じ | |
heroku config:add BUILDPACK_URL=https://github.com/igrigorik/heroku-buildpack-dart.git | |
#Setting config vars and restarting moge-sandbox... done, v3 | |
#BUILDPACK_URL: https://github.com/igrigorik/heroku-buildpack-dart.git | |
#buildpackの設定、herokuにpush時の挙動を設定します。 | |
git add . | |
git commit -m "first commit" | |
git push origin master | |
#で、OKなはずが | |
#2013/07/20の段階で以下のエラーが発生 | |
#-----> Fetching custom git buildpack... done | |
#-----> Dart app detected | |
#-----> Installing Dart VM, build: latest | |
#-----> Copy Dart binaries to app root | |
#-----> Install packages | |
#*** Found pubspec.yaml in . | |
#/app/dart-sdk/bin/dart: /lib/libc.so.6: version `GLIBC_2.15' not #found (required by /app/dart-sdk/bin/dart) | |
#/app/dart-sdk/bin/dart: /lib/libc.so.6: version `GLIBC_2.14' not #found (required by /app/dart-sdk/bin/dart) | |
#バージョンを指定し、急場を凌ぐ。 | |
heroku config:set BUILD=24898 | |
#ユーザーが指定した環境変数を有効にする。 | |
heroku labs:enable user-env-compile -a moge-sandbox | |
#改めてpush | |
git push origin master | |
-----> Fetching custom git buildpack... done | |
-----> Dart app detected | |
-----> Installing Dart VM, build: 24898 | |
-----> Copy Dart binaries to app root | |
-----> Install packages | |
*** Found pubspec.yaml in . | |
Resolving dependencies... | |
Dependencies installed! | |
-----> Discovering process types | |
Procfile declares types -> web | |
-----> Compiled slug size: 8.6MB | |
-----> Launching... done, v11 | |
http://moge-sandbox.herokuapp.com deployed to Heroku | |
To git@heroku.com:moge-sandbox.git | |
* [new branch] master -> master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment