LoginSignup
0
0

More than 5 years have passed since last update.

Node.jsの導入(CentOS7)

Posted at

環境

CentOS7.1

インストール

参考ページを参照してnvmとnode.jsをインストールしHelloWorldまでやる。

Heroku

デプロイ環境はHerokuを使う。Herokuの登録は公式ページから行う。

Heroku Toolbeltのインストール

参考ページを参照してインストールする。

参考ページ通りにStandaloneのソースを使用しインストールする。

$ wget -qO- https://toolbelt.heroku.com/install.sh | sh
$ echo 'PATH="/usr/local/heroku/bin:$PATH"' >> .bash_profile 
$ source .bash_profile 

バージョン確認(実行するとheroku-cliのインストールが始まります。)

$ heroku version
heroku-cli: Installing CLI... 22.45MB/22.45MB
heroku-toolbelt/3.43.13 (x86_64-linux) ruby/2.0.0
heroku-cli/5.4.8-eee5ec9 (linux-amd64) go1.7.1
You have no installed plugins.

ログイン

$ heroku login
Logged in as hoge@mail

参考

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