File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,46 @@ CoderDojo は7〜17歳を対象とした非営利のプログラミング道場
81
81
82
82
<br>
83
83
84
+
85
+ # # :gem: ローカル環境で確認する方法
86
+
87
+ エラーなどで困ったら [Rails Girls インストール・レシピ](https://railsgirls.jp/install)を見るのがオススメです。
88
+ Ruby がインストールできれば十分で、 **Rails のインストールは不要** です。
89
+
90
+ ` ` ` shell
91
+ # macOS の場合: Homebrew ( https://brew.sh/index_ja ) 経由がオススメ
92
+ $ brew install rbenv ruby-build
93
+
94
+ # Linux の場合: https://github.com/rbenv/rbenv#readme に沿って rbenv をインストール
95
+ $ sudo apt install rbenv # Debian, Ubuntu 系のディストリビューションの場合
96
+
97
+ # Windows の場合: 以下の Rails Girls インストール・レシピに沿ってインストール
98
+ # https://railsgirls.jp/install
99
+
100
+ # ` .ruby-version` ファイルにあるバージョン番号を確認し、バージョン番号 x.y.z をメモする
101
+ # https://github.com/coderdojo-japan/dojocon.coderdojo.jp/blob/main/.ruby-version
102
+
103
+ # 上記でメモした Ruby のバージョン番号をインストールする
104
+ $ rbenv install x.y.z
105
+
106
+ # 上記のバージョンの Ruby がインストールされたことを確認する
107
+ $ ruby --version
108
+
109
+ # 必要なライブラリをインストールする
110
+ $ bundle install
111
+
112
+ # ローカルサーバーを立ち上げる
113
+ $ bundle exec jekyll server
114
+ ```
115
+
116
+ 無事にローカルサーバーが立ち上がったら、[ http://localhost:4000/ ] ( http://localhost:4000/ ) にアクセスしてWebサイトを修正・確認します。
117
+
118
+ <br >
119
+
120
+
84
121
## :octocat: 関連リポジトリ
85
122
86
- - [GitHub - DojoCon Japan リポジトリ一覧](https://github.com/search?q=org%3Acoderdojo-japan+dojocon &type=repositories)
123
+ - [ GitHub - DojoCon Japan リポジトリ一覧] ( https://github.com/search?q=org%3Acoderdojo-japan%20dojocon &type=repositories )
87
124
- [ GitHub - decadojo.coderdojo.jp] ( https://github.com/coderdojo-japan/decadojo.coderdojo.jp )
88
125
- [ GitHub - map.coderdojo.jp] ( https://github.com/coderdojo-japan/map.coderdojo.jp )
89
126
- [ GitHub - coderdojo.jp] ( https://github.com/coderdojo-japan/coderdojo.jp )
You can’t perform that action at this time.
0 commit comments