[Rails Struggle/Rails Tutorial] Summary of Heroku commands

Introduction

happy New Year. It's 2021 from today. I look forward to working with you this year as well. This time, I've briefly summarized what I learned about the Heroku command in the Rails tutorial. We'll skip creating a new Heroku account and installing Heroku here.

Heroku command

When you want to check if Heroku is installed

$ heroku --version

When you want to log in without opening Heroku

$ heroku login --interactive

When you want to create a new application on Heroku

$ heroku create

Push repositories to Heroku using Git

$ git push heroku master

When you want to rename the application

$heroku rename (app name)

When you want to get the log of the production environment

$ heroku logs

Automatically displayed every time an event occurs (Ctrl + C ends)

$ heroku logs --tail 

At the end

This time, I've summarized the Heroku command as a brief review. I think there are many people who concentrate on the development environment and cannot get around to the production environment. In fact, until I entered the development site, I was often distracted by development. It's going to be 2021 when I want to have a margin to keep an eye on the production environment.

Recommended Posts

[Rails Struggle/Rails Tutorial] Summary of Heroku commands
[Rails Struggle/Rails Tutorial] Summary of Rails Tutorial Chapter 2
A summary of only Rails tutorial setup related
Summary of frequently used commands in Rails and Docker
Rails Tutorial (4th Edition) Summary
[Rails] Implementation of tutorial function
Summary of rails validation (for myself)
rails tutorial chapter 10 summary (for self-learning)
[Rails] Summary of complicated routing configurations
Summary of frequently used Docker commands
rails tutorial
rails tutorial
rails tutorial
rails tutorial
rails tutorial
rails tutorial
rails tutorial
Rails Tutorial 6th Edition Learning Summary Chapter 10
Rails Tutorial 6th Edition Learning Summary Chapter 7
Rails Tutorial 6th Edition Learning Summary Chapter 4
Rails Tutorial 6th Edition Learning Summary Chapter 9
Rails Tutorial 6th Edition Learning Summary Chapter 6
Rails Tutorial 6th Edition Learning Summary Chapter 5
Rails Tutorial 6th Edition Learning Summary Chapter 2
Rails Tutorial 6th Edition Learning Summary Chapter 3
Rails Tutorial 6th Edition Learning Summary Chapter 8
Personal development: Summary of technologies used in comedy Gasha (scraping, Rails, Heroku)
Rails: A brief summary of find, find_by, where
[Rails Struggle/Rails Tutorial] What you learned in Rails Tutorial Chapter 6
rails tutorial Chapter 6
Rails tutorial test
[Github] Summary of commands often used during development
[Rails Struggle/Rails Tutorial] What you learned in Rails Tutorial Chapter 3
Cloud9 is out of memory: Rails tutorial memorandum
Heroku command summary
rails tutorial Chapter 1
[Ruby on Rails] Rails tutorial Chapter 14 Summary of how to implement the status feed
Rails tutorial memorandum 1
Rails tutorial memorandum 2
rails tutorial Chapter 7
rails tutorial Chapter 5
rails tutorial Chapter 10
Rails 6.0 Routing Summary
rails tutorial Chapter 9
[Rails tutorial] A memorandum of "Chapter 11 Account Activation"
rails tutorial Chapter 8
[Note] Summary of rails login function using devise ①
Start Rails Tutorial
rails db: 〇〇 Summary
[Beginner] Rails Tutorial
A brief summary of Rails association options (foreign_key, primary_key)
[Rails Struggle/Rails Tutorial] What you learned in Rails Tutorial Chapters 4 and 5
Rails tutorial (6th edition) Background operation of login function
[Rails] devise-related routing summary
[Rails] Migration command summary
Rails Tutorial Chapter 10 Notes
Rails Tutorial Chapter 3 Notes
Rails Tutorial cheat sheet
[Rails] Introduction of PAY.JP
Summary of OpenJDK sources
Summary of strong parameters