Sunday, July 30, 2017

Installing Heroku on 32-bit Ubuntu Linux

For version control, Ubuntu Linux comes with pre-installed git. For production deployment, Heroku CLI needs to be installed in order to push a Ruby on Rails project to Heroku for hosting.

This was what I did on my 32-bit Ubuntu Linux laptop computer.

shell terminal
$ heroku version
heroku: command not found

$ wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh

$ heroku version
heroku-cli/6.13.5 (linux-x86) node-v8.2.1

After I had installed Heroku, I needed to log in and add my public SSH key.
shell terminal
$ heroku login
$ heroku keys:add

Reference:
Heroku CLI | Heroku Dev Center - Debian/Ubuntu
https://devcenter.heroku.com/articles/heroku-cli#debian-ubuntu

No comments:

Post a Comment

How to kill an abandoned process in Linux/Unix

I remembered it, then I forgot, then I remembered it, and then I forgot again. In case of a Linux/Unit process hang, I have to figure out ...