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
Goconference_20__1_.pdf
Search
unisuke
October 10, 2020
0
94
Goconference_20__1_.pdf
unisuke
October 10, 2020
Tweet
Share
More Decks by unisuke
See All by unisuke
Rustってどんな言語
uni_82
0
170
Verified Software Toolchain C ~Coqを用いたCプログラムの検証~
uni_82
0
70
はじめてのIT勉強会 プリンシプルオブプログラミングPart.3
uni_82
0
160
2021.01はじめてのIT勉強会.pdf
uni_82
0
150
20201129WBALT.pdf
uni_82
0
76
2020.11.26ポートフォリオを素敵にしたい 副代表のゆるゆるLT第1段
uni_82
0
86
はじめてのIT勉強会 プリンシプルオブプログラミング
uni_82
0
240
2020.10.14 はじめての〇〇 超LT会- vol.1 #ultralt
uni_82
0
73
はじめてのIT勉強会.pdf
uni_82
0
120
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
[SF Ruby Conf 2025] Rails X
palkan
1
740
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
820
How to build a perfect <img>
jonoalderson
1
4.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Agile that works and the tools we love
rasmusluckow
331
21k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
The Invisible Side of Design
smashingmag
302
51k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Transcript
Hugoことはじめ 初心者が爆速でポートフォリオをデプロイするまで
自己紹介 名前:うにすけ 出身:埼玉県 年齢:21才 所属:東北大学工学部電気情報物理工学科3年 @uniuni_8282 https://www.facebook.com/mayu.uenishi.1 @uni_82
Hugo x Firebase
経緯 • アルバイト中に軽くHugoを触る機会があった • 個人のお仕事を初めて受けているのでポートフォリオは持っていたい
Hugoとは Golangで作られた静的サイトジェネレーター
Hugoの特徴 • 成果物にはサーバーサイドの処理が含まれない → 表示速度が早い・セキュリティリスクが減る • Markdown形式で記事がかける • テーマが優秀
Hugo ディレクトリ構成 <- markdown <- 設定ファイル <- 記事ファイルを置くディレクトリ <- 全ファイルから参照したいデータ
<- テーマファイルを一部修正したいとき <- 静的ファイル <- テーマ
Hugo ディレクトリ構成 contentsディレクトリに markdownファイルを配置 ➕ themeの設定方法に従い dataディレクトリのもとにファイル作成 この作業だけで中身は完成
デプロイ 以下のコマンド3つだけで完了 $ firebase login $ firebase init $ hugo
&& fiebase deployhug o && firebase deplhugo & & firebase deploy y
まとめ contentsの作成もデプロイもとにかく簡単!!
これからことやりたいこと • テーマの作成 • gitlabCIでのデプロイへ移行
ご清聴ありがとうございました