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
Python Static Site Generator using Pelican
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
igauravsehrawat
December 20, 2014
Technology
65
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python Static Site Generator using Pelican
Python meetup talk
igauravsehrawat
December 20, 2014
Transcript
20 slides
Python Static Site Generator Text + Template = Static Site
Github:: @igauravsehrawat Twitter:: @root3d
What exactly is this ? • Similar to wordpress without
db • Uses markdown • Analogous to jekyll
Why ? • If one doesn't need a run a
server with db. • No apache/ngnix • Simplicity • Pythonic way • Host free on Github
How ? • Pelican • Hyde • Nikola ...
Pelican • Renowned community • Good support • Documentation •
Mailing list • IRC Channel: #pelican • Lots of Customized themes • Lots of plugins
Getting Started • Pip install pelican markdown • mkdir <dir_name>
• Cd <dir_name> • Pelican-quickstart • • Cd content • Touch <file-name.md> • Write some markdown • Pelican content •
Structure • . • ├── Makefile • ├── content •
├── develop_server.sh • ├── fabfile.py • ├── output • ├── pelicanconf.py • └── publishconf.py
None
Customization • Pelicanconf.py • Publishconf.py • • AUTHOR • THEMES
• PLUGINS • SITENAME • SITEURL ....
None
• Python -m SimpleHTTPServer • Make devserver
None
None
None
None
None
• DELETE_OUTPUT_DIRECTORY = False in publishconf.py Publish to github •
Easy Way: Git checkout -b gh- pages • Git add . • Git commit -m “message” • Git push origin gh- pages
None
Who uses pelican ? • Linux-kernel • Debian • Chennaipy.org
Thank you
Other Decks in Technology
See All in Technology
リリースしたで終わらない。 観測できるフロントエンド開発
yamakenji24
4
530
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
400
From vibe coding to reliable (agentic) development
jcabot
0
250
Welcome JXL!
dynamis
0
160
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
670
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
170
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
290
NutanixへのSSHアクセスの今後について
shadowhat
0
180
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
140
Is the Website Dying?
miriamschwab
0
180
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
120
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
3
12k
Building Adaptive Systems
keathley
44
3.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
610
Chasing Engaging Ingredients in Design
codingconduct
0
410
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Fireside Chat
paigeccino
43
4.1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Un-Boring Meetings
codingconduct
0
510
How to build a perfect <img>
jonoalderson
1
6.3k