LoginSignup
1
1

More than 5 years have passed since last update.

Serverless Framework 事始め(setup〜hello world)

Posted at

準備

node のバージョンを最新にする。

こちらから推奨の最新バージョンをチェックする。
2018年6月26日現在、v8.11.3が良さそうなのでそれにする。

$nvm install v8.11.3

公式に従ってセットアップ

こちらを参照して行う。

$npm install -g serverless

# インストール完了
$serverless -v
1.27.3

aws のクレデンシャルの設定を行う。
こちらを参照

  1. Admin 権限の IAM ユーザを作成する。
  2. 設定をする。
# aws の profile を指定する場合は以下をする必要がある
$ export AWS_PROFILE="profileName2" && export AWS_REGION=eu-west-1.

Hello world

こちらを参考

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