MHI-install » 履歴 » バージョン 21
Yuumi Yoshida, 2024-03-14 15:40
| 1 | 1 | Yuumi Yoshida | # インストール手順 |
|---|---|---|---|
| 2 | |||
| 3 | ## インストールするソフト |
||
| 4 | |||
| 5 | 7 | Yuumi Yoshida | - Chrome |
| 6 | 1 | Yuumi Yoshida | - VSCode |
| 7 | - Git |
||
| 8 | - Ruby |
||
| 9 | - Ruby on Rails |
||
| 10 | - MySQL |
||
| 11 | 2 | Yuumi Yoshida | |
| 12 | |||
| 13 | ## 手順 |
||
| 14 | 7 | Yuumi Yoshida | |
| 15 | ### Chrome |
||
| 16 | |||
| 17 | 16 | Yuumi Yoshida | - 既にインストールされていれば、それを使って下さい |
| 18 | 7 | Yuumi Yoshida | - ダウンロード: https://www.google.co.jp/chrome/ |
| 19 | - インストール手順: 通常アプリと同様です |
||
| 20 | 2 | Yuumi Yoshida | |
| 21 | ### VSCode |
||
| 22 | |||
| 23 | 16 | Yuumi Yoshida | - 既にインストールされていれば、それを使って下さい |
| 24 | 2 | Yuumi Yoshida | - ダウンロード: https://code.visualstudio.com/docs/?dv=win |
| 25 | 1 | Yuumi Yoshida | - インストール手順: 通常アプリと同様です |
| 26 | 2 | Yuumi Yoshida | - TABサイズを 2 に設定する https://dev.classmethod.jp/articles/change-default-indent-in-vscode/ |
| 27 | 16 | Yuumi Yoshida | - メニュー等の日本語化はお勧めしませんが、既に入っている場合はそのままでかまいません |
| 28 | 1 | Yuumi Yoshida | |
| 29 | 2 | Yuumi Yoshida | ### Git |
| 30 | |||
| 31 | 16 | Yuumi Yoshida | - 既にインストールされていればそれを使って下さい |
| 32 | 2 | Yuumi Yoshida | - ダウンロード: https://gitforwindows.org/ |
| 33 | - インストール手順: https://qiita.com/manabu-watanabe/items/ecf1b434baf305adaa00 を参考にして下さい |
||
| 34 | - 多少インストーラーの画面が増えていますが全て **Next** で進んで下さい |
||
| 35 | - **インストール後の設定** は不用です |
||
| 36 | |||
| 37 | ### Ruby |
||
| 38 | |||
| 39 | 19 | Yuumi Yoshida | - ダウンロード: https://rubyinstaller.org/downloads/ の **Ruby+Devkit 3.2.3-1 (x64)** をダウンロード |
| 40 | - インストール手順: https://prog-8.com/docs/ruby-env-win を参考にして下さい |
||
| 41 | 20 | Yuumi Yoshida | - 最初にSelect Setup Install Mode画面が表示されます。ここでは `Install for me only(recommended)` を選択して下さい |
| 42 | 2 | Yuumi Yoshida | - バージョンは違います |
| 43 | 3 | Yuumi Yoshida | |
| 44 | ### Ruby on Rails |
||
| 45 | |||
| 46 | 11 | Yuumi Yoshida | 上記のインストール後に、**Windowsシステムツール** → **コマンドプロンプト** を起動し、以下を実行します |
| 47 | 18 | Yuumi Yoshida | (既にターミナルに慣れていればターミナルを使っても良いです) |
| 48 | 17 | Yuumi Yoshida | |
| 49 | |||
| 50 | 3 | Yuumi Yoshida | #### 1. バージョンの確認 |
| 51 | |||
| 52 | 8 | Yuumi Yoshida | バージョンは多少違っても良いです |
| 53 | |||
| 54 | 3 | Yuumi Yoshida | ``` |
| 55 | 4 | Yuumi Yoshida | > git --version |
| 56 | git version 2.29.2.windows.3 |
||
| 57 | |||
| 58 | > ruby -v |
||
| 59 | 20 | Yuumi Yoshida | ruby 3.2.3 ... |
| 60 | 3 | Yuumi Yoshida | |
| 61 | ``` |
||
| 62 | |||
| 63 | #### 2. インストールと確認 |
||
| 64 | 8 | Yuumi Yoshida | |
| 65 | 1 | Yuumi Yoshida | バージョンは多少違っても良いです |
| 66 | 8 | Yuumi Yoshida | |
| 67 | 3 | Yuumi Yoshida | ``` |
| 68 | > gem install -N sqlite3 |
||
| 69 | 20 | Yuumi Yoshida | ・・・ |
| 70 | 3 | Yuumi Yoshida | |
| 71 | > gem install -N rspec |
||
| 72 | 20 | Yuumi Yoshida | ・・・ |
| 73 | 3 | Yuumi Yoshida | |
| 74 | > rspec -v |
||
| 75 | 20 | Yuumi Yoshida | RSpec 3.13 |
| 76 | 3 | Yuumi Yoshida | ・・・ |
| 77 | |||
| 78 | 18 | Yuumi Yoshida | > gem install -N rails |
| 79 | 3 | Yuumi Yoshida | |
| 80 | > rails -v |
||
| 81 | 21 | Yuumi Yoshida | Rails 7.1.3.2 |
| 82 | 1 | Yuumi Yoshida | |
| 83 | ``` |
||
| 84 | |||
| 85 | 4 | Yuumi Yoshida | ### MySQL |
| 86 | |||
| 87 | 18 | Yuumi Yoshida | - 既にインストールされていれば、それを使って下さい |
| 88 | 4 | Yuumi Yoshida | - ダウンロード手順: https://www.dbonline.jp/mysql/install/index1.html を参考にして下さい |
| 89 | 13 | Yuumi Yoshida | - バージョンが変わりました 8.0.15 → 8.0.27 |
| 90 | 4 | Yuumi Yoshida | - ページの内容が多少変わってますが問題ないです |
| 91 | - インストール手順: https://www.dbonline.jp/mysql/install/index2.html を参考にして下さい |
||
| 92 | - License Agreement、High Availability ページが無くなりました |
||
| 93 | - **重要(インストール手順との違い)** Windows Serviceページは、Configure MySQL Server as a Windows Serviceはチェックしたまま Next して下さい |
||
| 94 | - Installation Complete ページの表示が多少変わってますが問題ないです |
||
| 95 | - インストール完了後 MySQL Workbench、MySQL Shell は閉じて下さい |
||
| 96 | 5 | Yuumi Yoshida | |
| 97 | MySQLはサービスとして動き続けます。もしMySQLが動いている事によりPCが遅くなるようなら **Windows 管理ツール** → **サービス** でMySQLサービスを止めておいて下さい |
||
| 98 | |||
| 99 | - 参考ページ https://webkaru.net/mysql/windows-service-start-stop/ |
||
| 100 | - MySQLのバージョン、画面の詳細は異なります |