Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Goconference_20__1_.pdf
Search
unisuke
October 10, 2020
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Goconference_20__1_.pdf
unisuke
October 10, 2020
Transcript
12 slides
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でのデプロイへ移行
ご清聴ありがとうございました
More Decks by unisuke
See All by unisuke
Rustってどんな言語
uni_82
0
180
Verified Software Toolchain C ~Coqを用いたCプログラムの検証~
uni_82
0
100
はじめてのIT勉強会 プリンシプルオブプログラミングPart.3
uni_82
0
170
2021.01はじめてのIT勉強会.pdf
uni_82
0
150
20201129WBALT.pdf
uni_82
0
91
2020.11.26ポートフォリオを素敵にしたい 副代表のゆるゆるLT第1段
uni_82
0
92
はじめてのIT勉強会 プリンシプルオブプログラミング
uni_82
0
250
2020.10.14 はじめての〇〇 超LT会- vol.1 #ultralt
uni_82
0
85
はじめてのIT勉強会.pdf
uni_82
0
130
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.4k
How to Talk to Developers About Accessibility
jct
2
630
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Automating Front-end Workflow
addyosmani
1370
210k
Making the Leap to Tech Lead
cromwellryan
135
10k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
640
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
How to build a perfect <img>
jonoalderson
1
6.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Fireside Chat
paigeccino
43
4.1k