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
Firebase Hostingの紹介
Search
Tomohiko Himura
December 24, 2016
Programming
1
1.6k
Firebase Hostingの紹介
WEB TOUCH MEETING 96の発表資料
https://wtm.connpass.com/event/45081/
Tomohiko Himura
December 24, 2016
Tweet
Share
More Decks by Tomohiko Himura
See All by Tomohiko Himura
Marpでmermaidは簡単だときいたけど
eiel
0
1.3k
バイナリ読むのにElixirしてみた
eiel
0
81
アジャイルはさておきMake People Awesomeしたい
eiel
0
180
レビューは最優先にするようにしている
eiel
0
310
再考 Fourkeys メトリクス
eiel
2
680
Test mockをSnapshot testする
eiel
0
130
devenvに入門した
eiel
1
120
関数プログラミングの考え方
eiel
1
340
逆コンウェイ作戦はフィードバックループを作るために 逆向きの流れをつくること (5分版)
eiel
0
450
Other Decks in Programming
See All in Programming
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
0
380
AI 駆動開発ライフサイクル(AI-DLC):ソフトウェアエンジニアリングの再構築 / AI-DLC Introduction
kanamasa
11
5.1k
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
710
Graviton と Nitro と私
maroon1st
0
160
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
300
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
38k
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.4k
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
120
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
530
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
4.7k
Patterns of Patterns
denyspoltorak
0
420
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
95
Typedesign – Prime Four
hannesfritz
42
2.9k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
1
340
Visualization
eitanlees
150
16k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
190
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
720
The agentic SEO stack - context over prompts
schlessera
0
580
GraphQLとの向き合い方2022年版
quramy
50
14k
HDC tutorial
michielstock
1
300
Transcript
FirebaseϗεςΟϯάͷհ 2016-12-23 WEB TOUCH MEETING #96
ͻΉΒ ͱͻ͜ • WTM ̎ͿΓ̐ճ͙Β͍? • ීஈϓϩάϥϛϯάΛ͍ͯ͠Δ https://eiel.info/
None
カビゴン・ラプラスまだ出てない
None
ࠓͷ͓
None
None
Googleのサービスです
アプリケーションの 作成・拡大・運営 楽にしてくれるサービス
誰のためのサービスか?
フロントエンジニア サイト運営者
フロントエンジニア
Webに関して言えば シングルページアプリケーションの 作成・運営をGoogleが助けてくれる
None
None
None
None
BaaS Backend as a Service
どんな機能があるか
None
None
DEMO https://eiel.info/
None
Firebase Hosting ΣϒίϯςϯπΛ͘͢৴
None
• 独自ドメインでHTTPS使うのが無料 • Googleのサーバでサイトを公開できる • 前のウェブサイトの状態にすぐもどせる
独自ドメインでHTTPS使うのが無料
None
None
_人人人人人人人人人人人_ > 独自ドメインでHTTPS <  ̄Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄
None
None
注意事項 firebase hostingに割り当てることができるド メインはサブドメインをつかってもひとつだけ です。 firebaseのプロジェクトはいくつもつくれます が、eiel.info をfirebaseのプロジェクトに割 当ているので www.eiel.info
や hoge.eiel.info を別のfirebase プロジェクト のhostingに割り当てることはできません。 eiel.infoをやめて、www.eiel.infoにしたりは できます。
前の状態にすばやくもどせる
None
None
ファイルのアップロード方法
FTPツールは使えません
• nodejsのインストール • cdコマンドの実行 Firebase Hostingを使うのに 最低限しておきたいコマンドラインのこと
None
⋊> firebase init
None
publicディレクトリにhtmlやcssをいれるだけ
⋊> firebase deploy
• Angular • 静的サイトジェネレータ 以下の公開場所として最適
ຊ
HTTPS対応進めてますか?
HTTPS Everywhere
2017年1月
None
None
独自ドメインで HTTPSするなら
対応してるサービスを 使うのが楽
None
レンタルサーバなら SNI SSL
None
VPSなど管理者権限があるなら
None
万能的に使える
None
静的ファイルでよければ
Firebase Hosting
·ͱΊ
BaaSと呼ばれる種類のサービス • シングルページウェブアプリ • iOSアプリ • Androidアプリ 作成・拡大を Googleが支援してくれるサービス Firebaseとは
HTTPS everywhere HTTPS対応検討してますか?
Firebase Hostingなら 無料で独自ドメインをHTTPS化
Firebase Hosting • Webサイトが公開できる • HTML CSS JS 画像がおける •
firebaseコマンドでアップロード • FTPツールはつかえない • PHP・CGIは動かない • CMSを作るには • 他のFirebaseServiceを活用する • ウェブサイトを簡単に前の状態にもどせる
参考文献とか • Firebaseのサイトからいくつかスクリーンショットをとってます。 • https://firebase.google.com/ • さくらインターネットの独自SSL • https://www.sakura.ad.jp/function/security/original-ssl.html •
Jimdoサイト SSL対応 • https://jp.jimdo.com/2016/12/20/ssl-all/ • 野球場のいらすと • https://azukichi.net/baseball/baseball055.html • Let's Encrypt • https://letsencrypt.jp/ • CloudFlare • https://www.cloudflare.com/
参考文献とか • Webに接続するiOSアプリは2017年1月からHTTPSの使 用が絶対条件になる、デベロッパーはご注意を • http://jp.techcrunch.com/ 2016/06/15/20160614apple-will-require-https- connections-for-ios-apps-by-the-end-of-2016/ • hromeはHTTPの死を早めている…1月からHTTPSでない
ページに警告を表示 • http://jp.techcrunch.com/ 2016/09/09/20160908chrome-is-helping-kill- http/