{"id":17078,"date":"2019-09-21T12:00:35","date_gmt":"2019-09-21T03:00:35","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=17078"},"modified":"2019-10-17T10:55:25","modified_gmt":"2019-10-17T01:55:25","slug":"%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aefirebase-hosting","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aefirebase-hosting\/","title":{"rendered":"\u306f\u3058\u3081\u3066\u306eFirebase Hosting"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<div><b>Firebase<\/b>(<a href=\"https:\/\/firebase.google.com\/\">https:\/\/firebase.google.com<\/a>)\u306fGoogle\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30e2\u30d0\u30a4\u30eb\u304a\u3088\u3073\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u958b\u767a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u306e\u5fc5\u8981\u304c\u306a\u304f\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u306b\u5c02\u5ff5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Firebase\u306b\u306f\u69d8\u3005\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3067\u304d\u308b<b>Firebase Hosting<\/b>\u306e\u5229\u7528\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/div>\n<h3>\u76ee\u6b21<\/h3>\n<ol>\n<li><a href=\"#1\">Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/a><\/li>\n<li><a href=\"#2\">Firebase CLI\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a><\/li>\n<li><a href=\"#3\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u521d\u671f\u5316\u3059\u308b<\/a><\/li>\n<li><a href=\"#4\">Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/a><\/li>\n<li><a href=\"#5\">\u672c\u756a\u30b5\u30a4\u30c8\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u3059\u308b<\/a><\/li>\n<li><a href=\"#6\">Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u524a\u9664\u3059\u308b<\/a><\/li>\n<li><a href=\"#7\">\u3055\u3044\u3054\u306b<\/a><\/li>\n<\/ol>\n<h3><b>\u5bfe\u8c61\u8aad\u8005<\/b><\/h3>\n<ul>\n<li>Firebase Hosting\u3092\u521d\u3081\u3066\u5229\u7528\u3059\u308b\u958b\u767a\u8005<\/li>\n<li>Firebase Hosting\u306e\u96f0\u56f2\u6c17\u3092\u77e5\u308a\u305f\u3044\u958b\u767a\u30de\u30cd\u30fc\u30b8\u30e3\u3001\u55b6\u696d\u62c5\u5f53\u8005<\/li>\n<\/ul>\n<h3><b>\u691c\u8a3c\u74b0\u5883<\/b><\/h3>\n<ul>\n<li>Firebase Spark\u30d7\u30e9\u30f3<\/li>\n<li>MacOS Mojave 10.14.6<\/li>\n<\/ul>\n<h2 id=\"1\">Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n<div>\u306f\u3058\u3081\u306bFirebase\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092Firebase\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<div><a href=\"https:\/\/console.firebase.google.com\/\">https:\/\/console.firebase.google.com<\/a><\/div>\n<div>Firebase\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u201d\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8ffd\u52a0\u201d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17079\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_01.png\" alt=\"\" width=\"434\" height=\"419\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_01.png 434w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_01-300x290.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/div>\n<div>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u5165\u529b\u3057\u3066\u201d\u7d9a\u884c\u201d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17083\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_02_.png\" alt=\"\" width=\"531\" height=\"613\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_02_.png 531w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_02_-260x300.png 260w\" sizes=\"auto, (max-width: 531px) 100vw, 531px\" \/><\/div>\n<div>Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3092\u6709\u52b9\u306b\u3059\u308b\u304b\u306e\u78ba\u8a8d\u753b\u9762\u306b\u79fb\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u201d\u7d9a\u884c\u201d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<div><\/div>\n<div>\u00a0\u65e2\u5b58\u306eGoogle\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9078\u629e\u3059\u308b\u304b\u65b0\u898f\u4f5c\u6210\u3092\u3059\u308b\u753b\u9762\u306b\u79fb\u308a\u307e\u3059\u3002Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306b\u5229\u7528\u3059\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9078\u629e\u3082\u3057\u304f\u306f\u65b0\u898f\u4f5c\u6210\u3092\u3057\u307e\u3059\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u201d\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u201d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17085\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_04.png\" alt=\"\" width=\"779\" height=\"599\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_04.png 779w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_04-300x231.png 300w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_04-768x591.png 768w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_04-728x560.png 728w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/div>\n<div>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u3001\u3057\u3070\u3089\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17086\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_05.png\" alt=\"\" width=\"372\" height=\"320\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_05.png 372w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_05-300x258.png 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/div>\n<div>\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\u3002\u4ee5\u4e0a\u3067Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u306f\u5b8c\u4e86\u3067\u3059\u3002\u6b21\u306fFirebase\u306e\u64cd\u4f5c\u306b\u5fc5\u8981\u306aFirebase CLI\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/div>\n<div><\/div>\n<h2 id=\"2\">Firebase CLI\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\n<div>Firebase CLI\u306fFirebase\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3059\u3002Firebase CLI\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306fNode.js\u3068npm\u304c\u5fc5\u8981\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Node.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u3067\u3042\u308bnvm\u3092\u5229\u7528\u3057\u3066Node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/div>\n<h3>1. nvm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<div>\u306f\u3058\u3081\u306bnvm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<div>\n<pre>$ curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.34.0\/install.sh | bash<\/pre>\n<\/div>\n<div>\u00a0nvm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<h3>2. node\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<div>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u76f4\u3057\u305f\u3089\u3001nvm\u30b3\u30de\u30f3\u30c9\u3067Node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002\u4eca\u56de\u306fNode.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f310\u306e\u6700\u65b0\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3059\u3002<\/div>\n<div>\n<pre>$ nvm install 10<\/pre>\n<\/div>\n<div>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/div>\n<div>\n<pre>$ node -v\nv10.16.3<\/pre>\n<\/div>\n<h3>3. Firebase CLI\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<div>npm\u30b3\u30de\u30f3\u30c9\u3067Firebase CLI\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<b>-g<\/b>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/div>\n<div>\n<pre>$ npm install -g firebase-tools<\/pre>\n<\/div>\n<h3>4. Firebase\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b<\/h3>\n<div>\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089Firebase\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306b\u3001Firebase\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002Firebase\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306b\u306f<b>firebase login<\/b>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>$ firebase login<\/pre>\n<\/div>\n<div>\u30ed\u30b0\u30a4\u30f3\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068CLI\u306e\u4f7f\u7528\u72b6\u6cc1\u3084\u30a8\u30e9\u30fc\u30ec\u30dd\u30fc\u30c8\u3092Firebase\u304c\u53ce\u96c6\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u3059\u308b\u304b\u306e\u8cea\u554f\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/div>\n<div>\n<pre>? Allow Firebase to collect CLI usage and error reporting information?<\/pre>\n<\/div>\n<div>\u8a31\u53ef\u3092\u3059\u308b\u5834\u5408\u306f<strong>y<\/strong>\u3001\u8a31\u53ef\u3092\u3057\u306a\u3044\u5834\u5408\u306f<strong>n<\/strong>\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5165\u529b\u5f8c\u3001\u30d6\u30e9\u30a6\u30b6\u306bFirebase\u30a2\u30af\u30bb\u30b9\u8a8d\u8a3c\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u8a8d\u8a3c\u304c\u5b8c\u4e86\u3059\u308b\u3068\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u306b\u5b8c\u4e86\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/div>\n<div>\n<pre>\u2714\u00a0\u00a0Success! Logged in as &lt;your_account_name&gt;<\/pre>\n<\/div>\n<h3>5. \u8a8d\u8a3c\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n<div>Firebase\u3078\u306e\u30ed\u30b0\u30a4\u30f3\u304c\u3067\u304d\u3066\u3044\u308b\u304b\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u3066\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\u306b\u306f<strong>firebase projects:list<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>$ firebase projects:list\n\u2714 Preparing the list of your Firebase projects\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 Project Display Name \u2502 Project ID\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2502 Resource Location ID \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 HostingTest\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2502 hostingtest-xxxxx \u00a0 \u00a0\u2502 [Not specified]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 XXXXX \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u2502 XXXXX \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u2502 [Not specified]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\n\uff12 project(s) total.<\/pre>\n<\/div>\n<div><\/div>\n<h2 id=\"3\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u521d\u671f\u5316\u3059\u308b<\/h2>\n<div>Firebase\u306e\u30ed\u30b0\u30a4\u30f3\u8a2d\u5b9a\u3092\u884c\u3063\u305f\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u3063\u3066\u3001Firebase\u7528\u306b\u521d\u671f\u5316\u3092\u3057\u307e\u3059\u3002<\/div>\n<div><\/div>\n<h3>1. \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<div>\u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7528\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\"fbHostingTest\"\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/div>\n<div>\n<pre>$ mkdir fbHostingTest<\/pre>\n<\/div>\n<h3>2. firebase init\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b<\/h3>\n<div>\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066Firebase\u306e\u521d\u671f\u5316\u3092\u884c\u3044\u307e\u3059\u3002Firebase\u306e\u521d\u671f\u5316\u3092\u884c\u3044\u306b\u306f<strong>firebase init<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>$ cd fbHostingTest\n$ firebase init\n\n\u00a0\u00a0\u00a0\u00a0\u00a0######## #### ########\u00a0\u00a0######## ########\u00a0\u00a0\u00a0\u00a0\u00a0###\u00a0\u00a0\u00a0\u00a0\u00a0######\u00a0\u00a0########\n\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0## ##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0##\u00a0\u00a0\u00a0##\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0##\n\u00a0\u00a0\u00a0\u00a0\u00a0######\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0########\u00a0\u00a0######\u00a0\u00a0\u00a0########\u00a0\u00a0#########\u00a0\u00a0######\u00a0\u00a0######\n\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0## ##\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0## ##\n\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0#### ##\u00a0\u00a0\u00a0\u00a0\u00a0## ######## ########\u00a0\u00a0##\u00a0\u00a0\u00a0\u00a0\u00a0##\u00a0\u00a0######\u00a0\u00a0########\n\nYou're about to initialize a Firebase project in this directory:\n\n\u00a0\u00a0\/Users\/XXXXX\/Projects\/fbHostingTest\n\n? Which Firebase CLI features do you want to set up for this folder? Press Space\nto select features, then Enter to confirm your choices. (Press &lt;space&gt; to selec\nt, &lt;a&gt; to toggle all, &lt;i&gt; to invert selection)\n\u276f\u25ef Database: Deploy Firebase Realtime Database Rules\n\u25ef Firestore: Deploy rules and create indexes for Firestore\n\u25ef Functions: Configure and deploy Cloud Functions\n\u25ef Hosting: Configure and deploy Firebase Hosting sites\n\u25ef Storage: Deploy Cloud Storage security rules<\/pre>\n<\/div>\n<h3>3. Hosting\u3092\u9078\u629e\u3059\u308b<\/h3>\n<div>\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3067\u201dHosting\u201d\u306b\u79fb\u52d5\u3057\u3066\u3001\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u3092\u62bc\u3057\u3066\u9078\u629e\u72b6\u614b\u306b\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>\u25ef Functions: Configure and deploy Cloud Functions\n\u276f\u25c9 Hosting: Configure and deploy Firebase Hosting sites\n\u25ef Storage: Deploy Cloud Storage security rules<\/pre>\n<\/div>\n<div>\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9078\u629e\u753b\u9762\u306b\u79fb\u308a\u307e\u3059\u3002<\/div>\n<h3>4. Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3059\u308b<\/h3>\n<div>\u63a5\u7d9a\u3059\u308bFirebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>? Please select an option: (Use arrow keys)\n\u276f Use an existing project\n\u00a0\u00a0Create a new project\n\u00a0\u00a0Add Firebase to an existing Google Cloud Platform project\n\u00a0\u00a0Don't set up a default project<\/pre>\n<\/div>\n<div>\u4eca\u56de\u306f\u4e8b\u524d\u306b\u4f5c\u6210\u3057\u3066\u304a\u3044\u305fFirebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5229\u7528\u3059\u308b\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002\u4f5c\u6210\u6e08\u307f\u306eFirebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u5229\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u3066\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<div>\n<pre>? Select a default Firebase project for this directory:\n\u00a0\u00a0XXXXX (XXXXX)\n\u276f hostingtest-XXXX (HostingTest)<\/pre>\n<\/div>\n<div>\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u9078\u629e\u753b\u9762\u306b\u79fb\u308a\u307e\u3059\u3002<\/div>\n<h3>5. \u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<div>\u5916\u90e8\u516c\u958b\u3059\u308b\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>? What do you want to use as your public directory? (public)<\/pre>\n<\/div>\n<div>\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<strong>public<\/strong>\u3067\u3059\u3002\u4eca\u56de\u306fpublic\u306e\u307e\u307e\u306b\u3059\u308b\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001\u30b5\u30a4\u30c8\u306e\u69cb\u6210\u3092\u9078\u629e\u3059\u308b\u753b\u9762\u306b\u79fb\u308a\u307e\u3059\u3002<\/div>\n<h3>6. \u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u9078\u629e\u3059\u308b<\/h3>\n<div>\u30b5\u30a4\u30c8\u306e\u69cb\u6210\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8(1\u30da\u30fc\u30b8)\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u901a\u5e38\u30da\u30fc\u30b8\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u306e\u9078\u629e\u3092\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>? Configure as a single-page app (rewrite all urls to \/index.html)? (y\/N)<\/pre>\n<\/div>\n<div>\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5834\u5408\u306f<strong>y<\/strong>\u3092\u62bc\u3057\u307e\u3059\u3002\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u306b\u3057\u305f\u5834\u5408\u3001\u81ea\u52d5\u7684\u306b\u30ea\u30e9\u30a4\u30c8\u8a2d\u5b9a\u304c\u884c\u308f\u308c\u3001\u8907\u6570\u306eURL\u3067\u540c\u4e00\u306e\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u901a\u5e38\u306e\u9759\u7684\u30da\u30fc\u30b8\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001<strong>n<\/strong>\u3092\u62bc\u3057\u307e\u3059\u3002<\/div>\n<div><\/div>\n<div>Firebase\u306b\u3088\u308a\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/div>\n<div>\n<pre>\u2714\u00a0\u00a0Wrote public\/404.html\n\u2714\u00a0\u00a0Wrote public\/index.html\n\ni\u00a0\u00a0Writing configuration info to firebase.json...\ni\u00a0\u00a0Writing project information to .firebaserc...\ni\u00a0\u00a0Writing gitignore file to .gitignore...\n\n\u2714\u00a0\u00a0Firebase initialization complete!<\/pre>\n<\/div>\n<div>\u4ee5\u4e0a\u3067Firebase\u306e\u521d\u671f\u5316\u306f\u5b8c\u4e86\u3067\u3059\u3002\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\u3002<\/div>\n<div><\/div>\n<h2 id=\"4\">Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h2>\n<div>Firebase\u306e\u521d\u671f\u5316\u304c\u5b8c\u4e86\u3059\u308b\u3068\u30ed\u30fc\u30ab\u30eb\u306e\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u306eindex.html\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002Firebase\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u524d\u306b\u30ed\u30fc\u30ab\u30eb\u306e\u74b0\u5883\u3067\u5b9f\u884c\u30c6\u30b9\u30c8\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/div>\n<div>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067Firebase Hosting\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u306b\u306f\u30ed\u30fc\u30ab\u30eb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067<strong>firebase serve<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u4eca\u56de\u306fHosting\u6a5f\u80fd\u3057\u304b\u5229\u7528\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001<strong>--only<\/strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u3067hosting\u3060\u3051\u3092\u6307\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/div>\n<blockquote>\n<div>\u203bserver\u3067\u306f\u306a\u304f<b>serve<\/b>\u306a\u306e\u3067\u30b9\u30da\u30eb\u30df\u30b9\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/blockquote>\n<div>\n<pre>$ firebase serve --only hosting\ni\u00a0\u00a0hosting: Serving hosting files from: public\n\u2714\u00a0\u00a0hosting: Local server: http:\/\/localhost:5000<\/pre>\n<\/div>\n<div>\u30d6\u30e9\u30a6\u30b6\u304b\u3089<strong>http:\/\/localhost:5000<\/strong>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17087\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_06.png\" alt=\"\" width=\"444\" height=\"320\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_06.png 444w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_06-300x216.png 300w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><\/div>\n<div>\u78ba\u8a8d\u304c\u7d42\u308f\u3063\u305f\u3089\u3001<strong>Control + c<\/strong>\u3067\u30ed\u30fc\u30ab\u30eb\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u505c\u6b62\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/div>\n<div><\/div>\n<h2 id=\"5\">\u672c\u756a\u30b5\u30a4\u30c8\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u3059\u308b<\/h2>\n<div>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u306e\u78ba\u8a8d\u306b\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001\u672c\u756a\u30b5\u30a4\u30c8\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002Firebase\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u3059\u308b\u306b\u306f<strong>firebase deploy<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre>$ firebase deploy\n\n=== Deploying to \u2018hostingtest-XXXX'...\n\ni\u00a0\u00a0deploying hosting\ni\u00a0\u00a0hosting[hostingtest-XXXX]: beginning deploy...\ni\u00a0\u00a0hosting[hostingtest-XXXX]: found 2 files in public\n\u2714\u00a0\u00a0hosting[hostingtest-XXXX]: file upload complete\ni\u00a0\u00a0hosting[hostingtest-XXXX]: finalizing version...\n\u2714\u00a0\u00a0hosting[hostingtest-XXXX]: version finalized\ni\u00a0\u00a0hosting[hostingtest-XXXX]: releasing new version...\n\u2714\u00a0\u00a0hosting[hostingtest-XXXX]: release complete\n\n\u2714\u00a0\u00a0Deploy complete!\n\nProject Console: https:\/\/console.firebase.google.com\/project\/hostingtest-XXXX\/overview\nHosting URL: https:\/\/hostingtest-XXXX.firebaseapp.com<\/pre>\n<\/div>\n<div>\u30d6\u30e9\u30a6\u30b6\u304b\u3089<strong>Hosting URL:<\/strong>\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308bURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u30ed\u30fc\u30ab\u30eb\u3067\u78ba\u8a8d\u3057\u305f\u753b\u9762\u3068\u540c\u3058\u3082\u306e\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/div>\n<div>Firebase\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u3082\u30c7\u30d7\u30ed\u30a4\u72b6\u6cc1\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002Firebae\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u3001\u201d\u958b\u767a\u201d\u2192\u201dHosting\u201d\u304b\u3089\u30c9\u30e1\u30a4\u30f3\u3084\u30c7\u30d7\u30ed\u30a4\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17088\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_07.png\" alt=\"\" width=\"561\" height=\"461\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_07.png 561w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_07-300x247.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/div>\n<div><\/div>\n<h2 id=\"6\">Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u524a\u9664\u3059\u308b<\/h2>\n<div>\u6700\u5f8c\u306b\u691c\u8a3c\u7528\u306b\u4f5c\u6210\u3057\u305fFirebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u524a\u9664\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u524a\u9664\u306fFirebase\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u884c\u3044\u307e\u3059\u3002\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u524a\u9664\u5bfe\u8c61\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u3066\u3001\u6b6f\u8eca\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17089\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_08.png\" alt=\"\" width=\"442\" height=\"144\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_08.png 442w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_08-300x98.png 300w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><\/div>\n<div>\u6b6f\u8eca\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8868\u793a\u3055\u308c\u305f\u201d\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u201d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17090\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_09.png\" alt=\"\" width=\"757\" height=\"144\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_09.png 757w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_09-300x57.png 300w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_09-728x138.png 728w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/div>\n<div>\u201dSettings\u201d\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u201d\u5168\u822c\u201d\u30bf\u30d6\u306e\u4e00\u756a\u4e0b\u306b\u201d\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u524a\u9664\u201d\u304c\u3042\u308a\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17091\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_10.png\" alt=\"\" width=\"205\" height=\"64\" \/><\/div>\n<div>\u201d\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u524a\u9664\u201d\u3092\u62bc\u3059\u3068\u3001\u524a\u9664\u306e\u78ba\u8a8d\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17092\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_11.png\" alt=\"\" width=\"595\" height=\"536\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_11.png 595w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/Firebase_11-300x270.png 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/div>\n<div>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u5168\u3066\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u524a\u9664\u30dc\u30bf\u30f3\u3092\u62bc\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u524a\u9664\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u524a\u9664\u304c\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/div>\n<div><\/div>\n<h2 id=\"7\">\u3055\u3044\u3054\u306b<\/h2>\n<div>\u672c\u8a18\u4e8b\u3067\u306fGoogle\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30e2\u30d0\u30a4\u30eb\u304a\u3088\u3073\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u958b\u767a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3042\u308bFirebase Hosting\u306e\u5229\u7528\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002Firebase\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u306e\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u306b\u5c02\u5ff5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9\u3001\u904b\u7528\u306e\u624b\u9593\u3092\u7701\u304f\u3053\u3068\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u54c1\u8cea\u5411\u4e0a\u3084\u30a2\u30a4\u30c7\u30a2\u5275\u51fa\u306b\u6642\u9593\u3092\u304b\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002Firebase\u306a\u3069\u5916\u90e8\u306b\u59d4\u8a17\u3067\u304d\u308b\u90e8\u5206\u306f\u4e0a\u624b\u306b\u5229\u7528\u3057\u3066\u3001\u3088\u308a\u65b0\u3057\u304f\u4fbf\u5229\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u751f\u307f\u51fa\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u6642\u9593\u3092\u304b\u3051\u3066\u3044\u304d\u305f\u3044\u3067\u3059\u306d\u3002<\/div>\n<div>\n<div id=\"attachment_17346\" style=\"width: 508px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.skyfantasylab.work\/\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-17346\" class=\"wp-image-17346 size-full\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512.png\" alt=\"\u30b9\u30ab\u30a4\u30a2\u30fc\u30c1 \u30d5\u30a1\u30f3\u30bf\u30b8\u30fc\u7814\u7a76\u5ba4\" width=\"498\" height=\"498\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512.png 498w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512-150x150.png 150w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512-300x300.png 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/a><p id=\"caption-attachment-17346\" class=\"wp-caption-text\">\u30b9\u30ab\u30a4\u30a2\u30fc\u30c1 \u30d5\u30a1\u30f3\u30bf\u30b8\u30fc\u7814\u7a76\u5ba4<\/p><\/div>\n<\/div>\n<div><a href=\"https:\/\/github.com\/easydoggie\/EasyDoggie\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-16635\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/06\/logo4-1024x487.png\" alt=\"EasyDoggie\" width=\"728\" height=\"346\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/06\/logo4-1024x487.png 1024w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/06\/logo4-300x143.png 300w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/06\/logo4-768x365.png 768w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/06\/logo4-728x346.png 728w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Firebase(https:\/\/firebase.google.com)\u306fGoogle\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30e2\u30d0\u30a4\u30eb\u304a\u3088\u3073\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u958b\u767a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u306e\u5fc5\u8981\u304c\u306a\u304f\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7&#8230;<\/p>\n","protected":false},"author":1,"featured_media":17093,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"17078","footnotes":""},"categories":[191,9],"tags":[808,809],"class_list":{"0":"post-17078","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gcp-","8":"category-dev","9":"tag-firebase","10":"tag-gcp","11":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/17078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=17078"}],"version-history":[{"count":7,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/17078\/revisions"}],"predecessor-version":[{"id":17347,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/17078\/revisions\/17347"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/17093"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=17078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=17078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=17078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}