Firebaseとは
Googleの提供するモバイルおよびWebアプリケーション開発プラットフォーム です。
個人で何か作って公開してみようかなと思い、Herokuと悩んだのですがこちらの方が新しいので選んでみました。
無料枠も用意されています。
デプロイ方法
ローカル開発環境からFirebase CLIのコマンド一つで出来ました。
PS C:\Development\friendlychat-web\friendlychat-web\web-start> firebase deploy --except functions === Deploying to 'friendlychat-00000'... i deploying hosting i hosting[friendlychat-00000]: beginning deploy... i hosting[friendlychat-00000]: found 7 files in ./public + hosting[friendlychat-00000]: file upload complete i hosting[friendlychat-00000]: finalizing version... + hosting[friendlychat-00000]: version finalized i hosting[friendlychat-00000]: releasing new version... + hosting[friendlychat-00000]: release complete + Deploy complete! Project Console: https://console.firebase.google.com/project/friendlychat-00000/overview Hosting URL: https://friendlychat-00000.firebaseapp.com
00000のところはFirebaseが自動で割り振った5桁の数字でした。
デプロイ詳細は公式に書いてあります。
firebase.google.com
まだ深く触ってないですが、大抵苦労するデプロイを楽にするコンセプトなのは良いですね…。