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
Pelican: Clean & Simple Page Generation
Search
Poren Chiang
May 17, 2014
Technology
1
150
Pelican: Clean & Simple Page Generation
2014/05/17 Lightning Talk @ PyCON APAC 2014, Academia Sinica, Taipei, Taiwan.
Poren Chiang
May 17, 2014
Tweet
Share
More Decks by Poren Chiang
See All by Poren Chiang
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
12
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
95
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
34
g0v hackath52n proposal: Language Portal
rschiang
0
320
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
200
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
260
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
130
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
110
重構黑箱社會 / Restructuring a Black Box Society
rschiang
0
490
Other Decks in Technology
See All in Technology
E2Eテスト自動化プラットフォームにおけるAIの活用
shift_evolve
0
180
データベース研修 分析向けSQL入門【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
110
Azure Pipelinesを使用したCICDベースラインアーキテクチャ実践
yuriemori
0
190
20240724_cm_odyssey_hibiyatech
hiashisan
0
110
DevIO2024_レガシー運用からの脱却 -クラウド活用の実践事例とベストプラクティス-
jun2882
0
210
技術負債による事業の失敗はなぜ起こるのか / Why do business failures due to technical debt occur?
i35_267
0
190
エンジニアの生存戦略 〜クラウド潮流の経験から紐解く技術トレンドのメカニズムと乗りこなし方〜
shimy
9
1.9k
AI研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
130
JBUG岡山 #6 WordCamp男木島の チームビルディング
takeshifurusato
0
150
【基調講演】変える、今ここから ― IoTとAIで紡ぐ未来
soracom
PRO
0
320
AWS IAMのアンチパターン/AWSが考える最低権限実現へのアプローチ概略(JAWS-UG朝会#59資料改修20分版)
htan
0
330
成長期に歩みを止めないための創業期の開発文化形成
mayah
6
420
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
353
29k
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
360
22k
Web Components: a chance to create the future
zenorocha
307
41k
Large-scale JavaScript Application Architecture
addyosmani
506
110k
Gamification - CAS2011
davidbonilla
78
4.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Producing Creativity
orderedlist
PRO
340
39k
How to Ace a Technical Interview
jacobian
274
23k
Building Effective Engineering Teams - LeadDev
addyosmani
47
2.2k
Ruby is Unlike a Banana
tanoku
96
10k
How to name files
jennybc
67
96k
Transcript
Pelican RSChiang @ PyCON APAC 2014 Clean & Simple Page
Generation
Hi, I’m RSChiang • Legal science major at NTU •
SITCON / COSCUP staff • Python advocate • You can reach me at http://poren.tw
Outline • What’s Pelican? • Why not Octopress? • How
does it work • Conclusion
Pelican • Static page generator • Anagram for “calepin” (notebook)
• Support Theming / RSS / Import / IPython / Plugins … • http://docs.getpelican.com
so would you ask. “Why not Jekyll or Octopress?”
None
It just doesn’t feel right to mix all of these
in…
Installing • [sudo] pip install pelican • pip install Markdown
for .md support • Use pelican command to tranform any text file • Interactive ones: pelican-quickstart
None
pelicanconf.py • Just like Django’s settings.py • Available as template
variables • Specify plugins by path or Python import • Control your own naming & pagination patterns!
None
Commands • Available as Fabric fabfile.py or Makefile • make
html (or fab build) • Preview your site using make serve • Publish via make github • make xxx_upload for SSH / FTP / S3 / rsync …
None
Conclusion • Pelican generates page in a clean, Django-like way
• Granular control on naming / folder structure with almost no restriction • Simple build & deployment to multiple targets • It’s written in Python. Good reason to switch from Octopress now
Thanks! RSChiang @ PyCON APAC 2014