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.
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
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