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
0
10
デプロイ講座_福プロ.pdf
ItoJum
July 23, 2025
Tweet
Share
More Decks by ItoJum
See All by ItoJum
フレッシュITあわ〜ど 最終審査会スライド_いとじゅん
itojum
0
9
connpass AIボットを作りたかった話
itojum
0
36
FMS構想について
itojum
0
12
Orvalでconnpass MCPサーバーを自動生成してみた
itojum
0
10
Orvalでconnpass MCPサーバーを自動生成してみた
itojum
0
57
エンジニアの文書記法の大定番!Markdown記法
itojum
0
23
ITCA_26卒学生エンジニア就活体験 ~Web業界編~
itojum
1
79
Raspberry Piで快適な入浴を_エンジニア集会4月LT会
itojum
1
28
昔作ったオセロゲームのソースコードを笑う会_エンジニア集会LT 2025/01/25
itojum
0
18
Featured
See All Featured
Code Review Best Practice
trishagee
74
19k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
110
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
300
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Discover your Explorer Soul
emna__ayadi
2
1k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
430
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Utilizing Notion as your number one productivity tool
mfonobong
2
200
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.9k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
140
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