7 ms·
I'm in the process of moving away from a static site for my website. Simply put, a web interface is often more convenient so I can update things easier on the
by motter 13y ago
I'm in the process of moving away from a static site for my website.
Simply put, a web interface is often more convenient so I can update things easier on the go, and it's good to have a place to host experiments too.
I have used various static site generators but none of them seemed to be significantly less work to get going than a small django app on heroku. Though I've been using Django for a few years, so there is simply no learning curve left.
- untog 13y agoWait till your web site gets a ton of unexpected traffic.
- StavrosK 13y agoWhat'll happen then? My Django-based blog handled hundreds of thousands of visits in a day without breaking a sweat. What it does is basically "fetch the whole page from memcached and serve it".
- riffraff 13y agoHaving a dynamic "admin panel" does not mean you can't completely cache your user-facing pages.
- oneeyedpigeon 13y agoAnd having HTML files on the filesystem doesn't mean you can't have an admin panel to update them with.
- deleted 13y ago[deleted]
- StavrosK 13y agoI had the same problem (updating content), so I wrote a small script to download deltas from my Dropbox and parse them. Now I can edit my posts with vim: http://www.stavros.io/posts/this-blog-is-dropbox-enabled/ http://www.stavros.io/posts/this-blog-is-dropbox-enabled/
- motter 13y agoThat's a nice solution, though I've gone for a markdown admin widget instead. This one if I remember correctly: https://github.com/timmyomahony/django-pagedown https://github.com/timmyomahony/django-pagedown
- StavrosK 13y agoOooh, very nice, thanks for that! One unintended (and great) side-effect of a Dropbox-hosted site is that you get mirrors for free (they all update together).