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
bashcms本で手を動かしてみた
Search
sickleaf
August 10, 2019
Technology
990
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
bashcms本で手を動かしてみた
第43回シェル芸勉強会LT
sickleaf
August 10, 2019
Transcript
16 slides
第43回シェル芸勉強会 LT 病葉(わくらば) @sickleaf3 bashcms本で⼿を動かしてみた 1
2
・私とbashcms本 ・何に惹かれたか ・⾃分でアレンジしてみたポイント ・⼿を動かして分かったこと もくじ 3
・SIer勤務(6年⽬) ・仕事はWordとExcel作業が中⼼ ・家ではLinuxを使ってラジオ環境の整備 ・ラジオ好きが⾼じて技術書を頒布/出版 私とbashcms本 4
シェル芸勉強会の参加状況 シェル芸に親しんできたのは今年になってから 回 成績 備考 第40回光明星節シェル芸勉強会 参加(1 問) ⾦スロット問題に⼼を 掴まれる
第41回{ウン,ガク,}{チ,ト,}{,ン}{,コイン}{ブ,}{ラブラ,ハ,}{,イブ}{無, 有}罪シェル芸勉強会 参加(1 問) 良問揃い/勉強会の名 前で優勝 第42回BLACK HOLEシェル芸勉強会 - 成⽥空港問題はお⼿上 げ 第43回⼤暴れシェル芸勉強会 参加(2 問) めっちゃ疲れた/初LT 私とbashcms本 5
得意なこと raspberry pi運⽤ シェルスクリプト(≠シェル芸) トラブル時の調査 不得意なこと Web全般 フルスクラッチでの開発 デザイン 私とbashcms本
6
何に惹かれたか 7
即効性と説得⼒ 何に惹かれたか 8
<即効性> ・「VPS上に⾃分でCMSサイト(ブログ)を作る」という明確なゴール ・ハマりどころをことごとく回避する第2章 1︓Let'sEncryptを使ったhttps化 2︓VPSのセキュリティ設定 3︓Webサーバの設定 <説得⼒> 作者のブログが同じ仕組みで作られている 何に惹かれたか 9
得意なこと(再掲) 得意なこと bashcms2 raspberry pi運⽤ VPS運⽤と対応 シェルスクリプト(≠シェル芸) システムの中⼼ トラブル時の調査 ログやコマンドを⼿打ちして調査
普段⾏っていることの延⻑線 何に惹かれたか 10
不得意なこと(再掲) 不得意なこと bashcms2 Web全般 丁度良い難易度(ブログ) フルスクラッチでの開発 そういう趣旨の本 デザイン Bootstrapにおまかせ 全てカバーされている︕︕
何に惹かれたか 11
12
1︓プライベートリポジトリの利⽤ 記事更新の仕組み︓masterブランチにpush、webhookで差分を取得 記事の中⾝や修正の差分が⾒えないようにしたい →(1)bashcms⽤のGitHubアカウントを作成(2)公開鍵認証 ・fetchの git pull を git fetch
origin master に変更 ・ /var/www/.ssh に認証⽤のデータを www-data で作成 ⾃分でアレンジしてみたポイント 13
2︓タグクラウドの実装(不完全) ⾃分でアレンジしてみたポイント 14
全て写経しようとすると時間が溶ける fetchスクリプトの⾏ sed 's/ */ /g' ⼿を動かして分かったこと 15
⼿を動かして分かったこと 16
More Decks by sickleaf
See All by sickleaf
20240512ジャンル指定クイズ
sickleaf
0
64
「○○するシェル芸ちゃん」の紹介
sickleaf
0
170
シェル芸に目覚める前と後
sickleaf
0
65
手順メモ(circle.ms、C97申し込み)
sickleaf
0
560
技術書典4新刊宣伝LT_radiberry pi!
sickleaf
0
230
Other Decks in Technology
See All in Technology
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
19
17k
gradle-best-practices 使ってみた
mikanichinose
0
240
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
150
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
130
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
9
5.6k
コーディングできない僕にBobが舞い降りた
shumpei3
0
220
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
3.3k
Claude Certified Developer – Professional 試験対策
shinoisa
0
250
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
740
Is the Website Dying?
miriamschwab
0
240
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
7
3.7k
Featured
See All Featured
Everyday Curiosity
cassininazir
0
430
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
410
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Curse of the Amulet
leimatthew05
4
17k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Designing Experiences People Love
moore
143
24k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Building Applications with DynamoDB
mza
96
7.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Side Projects
sachag
456
43k