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.5k
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
310
バイナリ読むのにElixirしてみた
eiel
0
59
アジャイルはさておきMake People Awesomeしたい
eiel
0
160
レビューは最優先にするようにしている
eiel
0
290
再考 Fourkeys メトリクス
eiel
2
660
Test mockをSnapshot testする
eiel
0
120
devenvに入門した
eiel
0
96
関数プログラミングの考え方
eiel
1
300
逆コンウェイ作戦はフィードバックループを作るために 逆向きの流れをつくること (5分版)
eiel
0
410
Other Decks in Programming
See All in Programming
KessokuでDIでもgoroutineを活用する / Go Connect #6
mazrean
0
120
『リコリス・リコイル』に学ぶ!! 〜キャリア戦略における計画的偶発性理論と変わる勇気の重要性〜
wanko_it
1
620
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
学習を成果に繋げるための個人開発の考え方 〜 「学習のための個人開発」のすすめ / personal project for leaning
panda_program
1
110
サイトを作ったらNFCタグキーホルダーを爆速で作れ!
yuukis
0
710
フロントエンドのmonorepo化と責務分離のリアーキテクト
kajitack
2
150
🔨 小さなビルドシステムを作る
momeemt
2
610
Namespace and Its Future
tagomoris
6
660
旅行プランAIエージェント開発の裏側
ippo012
1
520
パスタの技術
yusukebe
1
540
DockerからECSへ 〜 AWSの海に出る前に知っておきたいこと 〜
ota1022
5
1.8k
A Gopher's Guide to Vibe Coding
danicat
0
190
Featured
See All Featured
Facilitating Awesome Meetings
lara
55
6.5k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
A better future with KSS
kneath
239
17k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
The Invisible Side of Design
smashingmag
301
51k
Six Lessons from altMBA
skipperchong
28
4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
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/