1
2

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.

クラウドIDE上でHerokuを扱う際のメモ書き

Last updated at Posted at 2019-01-12

Railsチュートリアル (https://railstutorial.jp/chapters/sign_up?version=5.1#sec-production_webserver) を進めていて、クラウドIDE上でHerokuをインストールする方法を何度も忘れたので、メモ書き

source <(curl -sL https://cdn.learnenough.com/heroku_install)
heroku --version

gitの接続先確認

git remote -v

現在のルーティング一覧を表示

rails routes

   logout DELETE /logout(.:format)         sessions#destroy
    users GET    /users(.:format)          users#index
          POST   /users(.:format)          users#create
 new_user GET    /users/new(.:format)      users#new
edit_user GET    /users/:id/edit(.:format) users#edit
     user GET    /users/:id(.:format)      users#show
          PATCH  /users/:id(.:format)      users#update
          PUT    /users/:id(.:format)      users#update

rails console上でDB操作
以下を参考にしました。
https://ruby-rails.hatenadiary.com/entry/20140724/1406142120

1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?