リファクタリング 第 2 版 第 1 章 開始用セット
環境
Viscual Studio Code | 1.48.2 |
Node.js | v12.4.0 |
yarn | 1.22.4 |
Docker for Mac | 2.3.0.4 |
その他: Viscual Studio Code の拡張として Remote - Containers がインストール済みの状態。
手順
リポジトリをクローンして Viscual Studio Code で開く
$ git clone https://github.com/tacck/refactoring-sec1-starter.git
$ code refactoring-sec1-starter
Viscual Studio Code で環境を開く
- 左ペインの "リモート エクスプローラー" をクリック
- "Open Folder in Container..." をクリック
- ファイルダイアログの右下の "Open" をクリック
Viscual Studio Code で環境を開く (Dev Container)
- メニューの "ターミナル" から "新しいターミナル" をクリック
- 下に表示されたターミナルで下記実行
$ yarn install
- 左下の "Dev Container" をクリック
- "Remote-Containers: Rebuild Container" をクリック
- 再度 Viscual Studio Code が開いたら完了