0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

5分でできるherokuが、実際3日かかってしまった話

0
Last updated at Posted at 2019-12-12

たった5分でDjangoアプリをherokuにデプロイする方法

まず環境差で死亡してましたですね*MacOS環境構築あるある

以下よんだらできたけど5分でできないのは謎エラーが突破できなかったし、pyenvが理解できてないからや*MacでPythonインストールなら知っておきたい・いろは

久々にherokuにpushしようとしたら詰まった
http://nafuruby.hatenablog.com/entry/2014/10/18/004834

ssh -v heroku

でエラーだったけど

色々記事みるといきなりmasterにpushしようとしている記事あるけどもherokuの手順通りにやると以下のコマンドが抜けていた

$ heroku git:remote -a [your-app-name]
set git remote heroku to ssh://git@heroku.com/[your-app-name]

これで晴れてmasterにpushでき.....ない

error: src refspec master does not match anyがでる
https://qiita.com/yukari-n/items/e6107fe52772ef6a2df4

pipeline作らずになんかごちゃごちゃしてたから?Heroku Pipeline概要

とりまgitでハマってるのかherokuでハマってるのか切り分けよう

てか「Heroku creat」コマンド でいきなりwebサイトできてるの草
herokuサイトからアプリ作成もできるしどっちがいいのか

合わせて絶対に読みたい

PythonのWebアプリケーション(Django)を初心者にもわかりやすく解説【プロジェクト作成編】
http://qiita.com/carat_yoshizaki/items/f3c79e38b802c7fc8863

Djangoを最速でマスターする part1
https://qiita.com/gragragrao/items/373057783ba8856124f3
ぐぬぬ

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?