heroku

トラしゅのソースをリファクタしてherokuへあげてみた

http://mysterious-anchorage-7573.herokuapp.com/大したことしてないから恥ずかしすぎるww

herokuの時間をJSTにする

heroku config:add TZ=Asia/Tokyo

herokuの時間をjstにする

heroku config:add TZ=Asia/Tokyo これを追加すれば出来る!

herokuでmysqlを使う

bash-3.2$ heroku config | grep CLEARDB_DATABASE_URL CLEARDB_DATABASE_URL => mysql://99676e34db4981:94a12c4d@us-cdbr-east.cleardb.com/heroku_a23c897bcef9bd7?reconnect=true bash-3.2$ heroku config:add DATABASE_URL='mysql://99676e34db4981:94a…

rails3.2でActionView::Template::Errorが出た

herokuを使ってみたら下記のエラーが出たActionView::Template::Error (application.css isn't precompiled): 場所は、stylesheet_link_tagが書いてある場所だった。解決策は config/environments/production.rbのconfig.assets.compile = false になってる…

heroku push

herokuにpushしたらgit push heroku master Permission denied (publickey). fatal: The remote end hung up unexpectedlyこんなこと言われた。key登録してなかったwwheroku keys:add ~/.ssh/id_rsa.pub これでkey追加!