Help us understand the problem. What is going on with this article?

Ubuntu 16.04 on Docker で Heroku Toolbelt を試す

More than 3 years have passed since last update.
  • 要 Docker 環境
  • 要 Heroku アカウント

Local

### Ubuntu 16.04 の bash を起動
docker run -it ubuntu:16.04 /bin/bash

Ubuntu on Docker

### Heroku Toolbelt のインストール
apt update
apt install -y wget sudo
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh

### Heroku Toolbelt バージョン確認
heroku --version

### Heroku ログイン
heroku login

### Heroku アプリ作成
mkdir hello-app
git init
heroku create <MY_HEROKU_APP_NAME>
#=> Creating app... done, ⬢ <MY_HEROKU_APP_NAME>
#   https://<MY_HEROKU_APP_NAME>.herokuapp.com/ | https://git.heroku.com/<MY_HEROKU_APP_NAME>.git

git remote -v
#=> heroku  https://git.heroku.com/<MY_HEROKU_APP_NAME>.git (fetch)
#   heroku  https://git.heroku.com/<MY_HEROKU_APP_NAME>.git (push)

### アプリ作成
### (ごにょごにょ)

### Heroku デプロイ
git push heroku master

あとは煮るなり焼くなり:smiley:

Dockerfile 化しておくと良いかもです。

notakaos
東京在住のWeb Developer
yumemi
みんなが知ってるあのサービス、実はゆめみが作ってます。スマホアプリ/Webサービスの企画・UX/UI設計、開発運用。Swift, Kotlin, PHP, Vue.js, React.js, Node.js, AWS等エンジニア・クリエイターの会社です。東京(三軒茶屋)/京都(四条烏丸)/札幌/大阪/福岡に展開中!Twitterで情報配信中https://twitter.com/yumemiinc
http://www.yumemi.co.jp
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした