commandメモ

ホームディレクトリに移動 $ cdひとつ上の階層に移動 $ cd ..ふたつ上の階層に移動 $ cd ../..絶対パスで指定して移動 $ cd /(ディレクトリ名)/(ディレクトリ名)...n階層だけ階層表示 $ tree -L n

Flaskアプリをデプロイする際にやったことメモ

qiita.com実際にやってみた際のメモ。 振り返りなので実際はエラーが出たかもしれないが。 今後は都度メモるようにしましょう。pyenvのインストール % brew link autoconf pkg-config % brew install pyenv % brew install pyenv-virtualenvvirtualenvのイン…

DaiさんのFlaskアプリチュートリアルをやってみました

Top Tweets Finder ローカル開発環境と仮想環境の違いもよく理解しないまま進めたもんだからうんざりするほどエラーがでた。ググりながらエラーを一つ一つ潰していったらなんとかできて感動。 エラーの解決方法をちゃんとメモしていったほうが良いとわかって…

ターミナルの出力結果をテキストファイルにも保存する方法

www.yoheim.net

$ git push heroku master To https://git.heroku.com/mikapp2.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://git.heroku.com/mikapp2.git' hint: Updates were rejected because the remote contains work…

git push heroku masterでのエラー。 $ git push heroku master To https://git.heroku.com/mikapp2.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://git.heroku.com/mikapp2.git' hint: Updates were reject…

コード埋め込みの練習 >||と|||言語|とすると言語に合わせてハイライトされる。 print("test")