{"id":68070,"date":"2019-03-16T09:38:28","date_gmt":"2019-03-16T00:38:28","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=68070"},"modified":"2019-03-16T09:38:30","modified_gmt":"2019-03-16T00:38:30","slug":"github-pages-basic","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/github-pages-basic\/","title":{"rendered":"GitHub Pages\u3092\u5229\u7528\u3057\u3066Web\u30b5\u30a4\u30c8\u3092\u516c\u958b\u3059\u308b\u65b9\u6cd5\u3010\u57fa\u672c\u7de8\u3011"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/03\/s_20190314_131527.jpg\" alt=\"S 20190314 131527\" title=\"s_20190314_131527.jpg\" border=\"0\" width=\"940\" height=\"662\" \/><\/p>\n<p>\u6700\u8fd1\u306fSNS\u306e\u6d41\u884c\u306b\u3088\u3063\u3066\u9700\u8981\u304c\u6e1b\u3063\u3066\u304d\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u3084\u306f\u308a\u81ea\u5206\u306e\u4f5c\u3063\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30b9\u30ad\u30eb\u3092\u30a2\u30d4\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e\u5834\u3068\u3057\u3066\u3001\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>GitHub\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u4e00\u3064\u300c<a href=\"https:\/\/pages.github.com\/\">GitHub Pages<\/a>\u300d\u306f\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u4fbf\u5229\u306a\u3001\u7121\u6599\u3067Web\u30b5\u30a4\u30c8\u3092\u516c\u958b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<p>GitHub Pages\u3067\u306fGitHub\u30a2\u30ab\u30a6\u30f3\u30c8\u3055\u3048\u3042\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3060\u3051\u3067\u81ea\u5206\u306e\u597d\u307f\u306eWeb\u30da\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>CSS\u3084JavaScript\u3082\u81ea\u7531\u306b\u4f7f\u7528\u53ef\u80fd\u3067\u5e83\u544a\u304c\u5f37\u5236\u3055\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u307e\u305b\u3093\u3002\u624b\u52d5\u3067html\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u4ee5\u5916\u306b\u3082\u3001Hugo\u3084Jekyll\u3068\u3044\u3063\u305f\u9759\u7684\u30b5\u30a4\u30c8\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fGitHub Pages\u306e\u6700\u3082\u57fa\u672c\u7684\u306a\u4f7f\u7528\u6cd5\u3092\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>GitHub Pages\u3067Web\u30b5\u30a4\u30c8\u3092\u516c\u958b<\/h2>\n<p>GitHub Pages\u3067\u4f5c\u6210\u3067\u304d\u308bWeb\u30b5\u30a4\u30c8\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u6700\u521d\u306f\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u6bce\u306b\u4f5c\u6210\u3067\u304d\u308b\u300c\u30e6\u30fc\u30b6\u30fc\u30b5\u30a4\u30c8\u300d\u3092\u4f5c\u6210\u3059\u308b\u306e\u304c\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u306f\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h3>1.\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210<\/h3>\n<p>GitHub\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u300cusername.github.io\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u65b0\u898f\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002username\u306f\u5b9f\u969b\u306e\u81ea\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u540d(\u4f8bsrc256)\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/03\/s_20190314_131005.jpg\" alt=\"S 20190314 131005\" title=\"s_20190314_131005.jpg\" border=\"0\" width=\"848\" height=\"560\" \/><\/p>\n<h3>2. \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3<\/h3>\n<p>\u4f5c\u6210\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002Git\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u4f55\u3092\u4f7f\u3063\u3066\u3082\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<pre>\ngit clone https:\/\/github.com\/username\/username.github.io\n<\/pre>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/03\/s_20190314_131303.jpg\" alt=\"S 20190314 131303\" title=\"s_20190314_131303.jpg\" border=\"0\" width=\"873\" height=\"171\" \/><\/p>\n<h3>3. \u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u4f5c\u6210<\/h3>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306bindex.html\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4e2d\u8eab\u306f\"Hello World\"\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u3067\u3059\u3002<\/p>\n<pre>\ncd username.github.io\necho \"Hello World\" > index.html\n<\/pre>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/03\/s_20190314_131342.jpg\" alt=\"S 20190314 131342\" title=\"s_20190314_131342.jpg\" border=\"0\" width=\"898\" height=\"199\" \/><\/p>\n<h3>4. \u30d7\u30c3\u30b7\u30e5\u3057\u3066\u516c\u958b<\/h3>\n<p>\u5909\u66f4\u5185\u5bb9\u3092\u30b3\u30df\u30c3\u30c8\u3057\u3066GitHub\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002<\/p>\n<pre>\ngit add --all\ngit commit -m \"Initial commit\"\ngit push -u origin master\n<\/pre>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/03\/s_20190314_131423.jpg\" alt=\"S 20190314 131423\" title=\"s_20190314_131423.jpg\" border=\"0\" width=\"878\" height=\"303\" \/><\/p>\n<p>\u300chttps:\/\/username.github.io\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4eca\u56de\u4f5c\u6210\u3057\u305fWeb\u30b5\u30a4\u30c8\u306e\u5185\u5bb9\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/03\/s_20190314_131509.jpg\" alt=\"S 20190314 131509\" title=\"s_20190314_131509.jpg\" border=\"0\" width=\"848\" height=\"560\" \/><\/p>\n<p>\u73fe\u6bb5\u968e\u3067\u306f\u5358\u306a\u308b\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u5b9f\u969b\u306b\u904b\u7528\u3059\u308b\u5834\u5408\u306f\u3001HTML\u3068\u3057\u3066\u6b63\u3057\u304f\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3057CSS\u3092\u5229\u7528\u3057\u3066\u5916\u89b3\u3092\u6574\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u9762\u5012\u306a\u5834\u5408\u306f\u3055\u3089\u306b\u30b9\u30c6\u30c3\u30d7\u30a2\u30c3\u30d7\u3057\u3066\u9759\u7684\u30b5\u30a4\u30c8\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u3092\u4f7f\u7528\u3059\u308b\u306e\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>GitHub Pages\u3092\u5229\u7528\u3059\u308c\u3070Web\u30b5\u30a4\u30c8\u3092\u7121\u6599\u3067\u516c\u958b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002GitHub\u3092\u666e\u6bb5\u304b\u3089\u4f7f\u7528\u3057\u3066\u3044\u308b\u958b\u767a\u8005\u3084\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u65b9\u306f\u5229\u7528\u3092\u691c\u8a0e\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u306fSNS\u306e\u6d41\u884c\u306b\u3088\u3063\u3066\u9700\u8981\u304c\u6e1b\u3063\u3066\u304d\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u3084\u306f\u308a\u81ea\u5206\u306e\u4f5c\u3063\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30b9\u30ad\u30eb\u3092\u30a2\u30d4\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e\u5834\u3068\u3057\u3066\u3001\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002 GitHub\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u4e00\u3064\u300cGi [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":68119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[573],"class_list":["post-68070","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-github"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/68070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=68070"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/68070\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/68119"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=68070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=68070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=68070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}