MHI-install » 履歴 » バージョン 13
Yuumi Yoshida, 2021-12-09 10:46
| 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 | - 既にインストールされていれば最新版でなくても、それを使って下さい |
||
| 18 | - ダウンロード: https://www.google.co.jp/chrome/ |
||
| 19 | - インストール手順: 通常アプリと同様です |
||
| 20 | 2 | Yuumi Yoshida | |
| 21 | ### VSCode |
||
| 22 | |||
| 23 | 6 | Yuumi Yoshida | - 既にインストールされていれば最新版でなくても、それを使って下さい |
| 24 | 2 | Yuumi Yoshida | - ダウンロード: https://code.visualstudio.com/docs/?dv=win |
| 25 | - インストール手順: 通常アプリと同様です |
||
| 26 | |||
| 27 | ### Git |
||
| 28 | |||
| 29 | 6 | Yuumi Yoshida | - 既にインストールされていれば最新版でなくても、それを使って下さい |
| 30 | 2 | Yuumi Yoshida | - ダウンロード: https://gitforwindows.org/ |
| 31 | - インストール手順: https://qiita.com/manabu-watanabe/items/ecf1b434baf305adaa00 を参考にして下さい |
||
| 32 | - 多少インストーラーの画面が増えていますが全て **Next** で進んで下さい |
||
| 33 | - **インストール後の設定** は不用です |
||
| 34 | |||
| 35 | ### Ruby |
||
| 36 | |||
| 37 | 13 | Yuumi Yoshida | - ダウンロード: https://rubyinstaller.org/downloads/ の **Ruby+Devkit 2.7.5-1 (x64)** をダウンロード |
| 38 | 2 | Yuumi Yoshida | - インストール手順: https://qiita.com/rubytomato@github/items/6693cc925c1ce99fdd22#rubyのインストール を参考にして下さい |
| 39 | - バージョンは違います |
||
| 40 | - **RubyInstaller2 画面**の入力は[1,2,3] ではなく [1,3] |
||
| 41 | 3 | Yuumi Yoshida | |
| 42 | ### Ruby on Rails |
||
| 43 | |||
| 44 | 11 | Yuumi Yoshida | 上記のインストール後に、**Windowsシステムツール** → **コマンドプロンプト** を起動し、以下を実行します |
| 45 | 3 | Yuumi Yoshida | |
| 46 | #### 1. バージョンの確認 |
||
| 47 | |||
| 48 | 8 | Yuumi Yoshida | バージョンは多少違っても良いです |
| 49 | |||
| 50 | 3 | Yuumi Yoshida | ``` |
| 51 | 4 | Yuumi Yoshida | > git --version |
| 52 | git version 2.29.2.windows.3 |
||
| 53 | |||
| 54 | > ruby -v |
||
| 55 | 13 | Yuumi Yoshida | ruby 2.7.5p203 ... |
| 56 | 3 | Yuumi Yoshida | |
| 57 | 4 | Yuumi Yoshida | > bundler -v |
| 58 | 3 | Yuumi Yoshida | Bundler version 2.1.4 |
| 59 | ``` |
||
| 60 | |||
| 61 | #### 2. インストールと確認 |
||
| 62 | 8 | Yuumi Yoshida | |
| 63 | バージョンは多少違っても良いです |
||
| 64 | 3 | Yuumi Yoshida | |
| 65 | ``` |
||
| 66 | > gem install -N sqlite3 |
||
| 67 | |||
| 68 | > gem list sqlite3 |
||
| 69 | |||
| 70 | *** LOCAL GEMS *** |
||
| 71 | |||
| 72 | sqlite3 (1.4.2) |
||
| 73 | |||
| 74 | > gem install -N rspec |
||
| 75 | |||
| 76 | > rspec -v |
||
| 77 | RSpec 3.10 |
||
| 78 | ・・・ |
||
| 79 | |||
| 80 | > gem install -N rails |
||
| 81 | |||
| 82 | > rails -v |
||
| 83 | 13 | Yuumi Yoshida | Rails 6.1.4.1 |
| 84 | 1 | Yuumi Yoshida | |
| 85 | ``` |
||
| 86 | 4 | Yuumi Yoshida | |
| 87 | ### MySQL |
||
| 88 | |||
| 89 | 6 | Yuumi Yoshida | - 既にインストールされていれば最新版でなくても、それを使って下さい |
| 90 | 4 | Yuumi Yoshida | - ダウンロード手順: https://www.dbonline.jp/mysql/install/index1.html を参考にして下さい |
| 91 | 13 | Yuumi Yoshida | - バージョンが変わりました 8.0.15 → 8.0.27 |
| 92 | 4 | Yuumi Yoshida | - ページの内容が多少変わってますが問題ないです |
| 93 | - インストール手順: https://www.dbonline.jp/mysql/install/index2.html を参考にして下さい |
||
| 94 | - License Agreement、High Availability ページが無くなりました |
||
| 95 | - **重要(インストール手順との違い)** Windows Serviceページは、Configure MySQL Server as a Windows Serviceはチェックしたまま Next して下さい |
||
| 96 | - Installation Complete ページの表示が多少変わってますが問題ないです |
||
| 97 | - インストール完了後 MySQL Workbench、MySQL Shell は閉じて下さい |
||
| 98 | 5 | Yuumi Yoshida | |
| 99 | MySQLはサービスとして動き続けます。もしMySQLが動いている事によりPCが遅くなるようなら **Windows 管理ツール** → **サービス** でMySQLサービスを止めておいて下さい |
||
| 100 | |||
| 101 | - 参考ページ https://webkaru.net/mysql/windows-service-start-stop/ |
||
| 102 | - MySQLのバージョン、画面の詳細は異なります |