Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
デプロイ講座_福プロ.pdf
Search
ItoJum
July 23, 2025
28
0
Share
デプロイ講座_福プロ.pdf
ItoJum
July 23, 2025
More Decks by ItoJum
See All by ItoJum
VRChat.rb_2_Rubyオブジェクトの世界.pdf
itojum
0
8
RubyKaigi_2026参加レポート_VRChat.rb.pdf
itojum
0
6
メタバースで地域.rbやってみた!
itojum
2
350
VRChat.rb #0 - RubyKaigi 2026 スケジュールを見る会
itojum
0
16
フレッシュITあわ〜ど 最終審査会スライド_いとじゅん
itojum
0
23
connpass AIボットを作りたかった話
itojum
0
55
Orvalでconnpass MCPサーバーを自動生成してみた
itojum
0
21
Orvalでconnpass MCPサーバーを自動生成してみた
itojum
0
88
エンジニアの文書記法の大定番!Markdown記法
itojum
0
40
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
170
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Building an army of robots
kneath
306
46k
Designing for Timeless Needs
cassininazir
1
220
Writing Fast Ruby
sferik
630
63k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Utilizing Notion as your number one productivity tool
mfonobong
4
300
How GitHub (no longer) Works
holman
316
150k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
150
Mind Mapping
helmedeiros
PRO
1
190
Transcript
デプロイ講座 ~Webアプリを公開してみよう!~ 福プロ 2025-07-23 いとじゅん / @itojum1230 1
目次 はじめに 1 Webアプリケーションの仕組み 2 デプロイとは 3 Webアプリを動かしてみよう! 4 デプロイしてみよう!
5 まとめ 6 2
準備してもらったもの PC GitHubアカウント インストールしているもの Node.js Git 準備できてない方はこの後の時間で準備お願いします はじめに 3
めっちゃ簡略化するとこんな感じ Webアプリケーションの仕組み 4
今回の講座の内容だとこんな感じ Webアプリケーションの仕組み 5
デプロイとは 6
以下のリポジトリをforkして、cloneしてください https://github.com/itojum/deploy_course Webアプリを動かしてみよう! 7
READMEの実行方法に従って実行してみてください Webアプリを動かしてみよう! 8
簡単にグローバルに公開するためには、 クラウドサービスを使うのがおすすめです Cloudflare Pages、GitHub Pages、Vercelを利用します 時間がある人はWebアプリのコードリーディングや 改造をしてみてください デプロイしてみよう! 9
Cloudflare Pages Cloudflareのサービスの1つ 無料で結構いい感じに動く 凝ったアプリをデプロイするときは、Cloudflare Workersを使 う デプロイしてみよう!Cloudflare Pages編 10
1. Cloudflareのアカウントを作成 - Googleログインがおすすめ 2. 「アプリケーションを作成す る」をクリック 3. Pagesを選択 4.
「既存のGitリポジトリをインポ ートする」 デプロイしてみよう!Cloudflare Pages編 11
5. deploy_course リポジトリを選 択 6. ビルド出力ディレクトリに tetris を入力 7. 「保存してデプロイする」
デプロイしてみよう!Cloudflare Pages編 12
8. デプロイが完了すると、 URLが表示されます 9. URLをクリックして表示さ れたら完了 デプロイしてみよう!Cloudflare Pages編 13
GitHub Pages GitHubのサービスの1つ 静的なWebアプリをデプロイするのには使える サーバーサイドは無理 デプロイしてみよう!GitHub Pages編 14
1. forkしたリポジトリ のSettingsを開く 2. Pagesを開く 3. Branchのmainを選 択 4. 「Save」をクリック
デプロイしてみよう!GitHub Pages編 15
5. Actionsタブを開く 6. これが になったらク リック デプロイしてみよう!GitHub Pages編 16
https://[ユーザー名].github.io/deploy_course/quiz/ 7. 表示されたら完了 デプロイしてみよう!GitHub Pages編 17
Vercel Web系のライブラリやフレームワークを大体デプロイできる Next.jsのデプロイをするならVercelが最適 今回はReactのアプリをデプロイしてみる デプロイしてみよう!Vercel編 18
1. Vercelのアカウントを作成 2. 「Add New...」→「Project」 をクリック 3. deploy_course リポジトリを import
4. Root DirectoryのEditをクリッ クして todo を選択 5 「Deploy」をクリック デプロイしてみよう!Vercel編 19
6. アプリの画面をクリック 7. 表示されたら完了 デプロイしてみよう!Vercel編 20
Webアプリケーションの仕組み ユーザー、ブラウザ、サーバー デプロイは割と簡単にできる 今回はGitHub Pages、Cloudflare Pages、 Vercelを利用した どれが簡単だったかな? 自分が作ったアプリを公開してみよう! まとめ
21