Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> We use a git-backed preview server that allows us to share versioned previews of graphics (any commit, any fork) and get feedback.

I'm jealous that this exists and I didn't know about it. Anyone aware of something like this that exists in the open-source/SaaS world?



It's mostly open-sourced, available here: https://github.com/mbostock/git-static


Very cool. I love your work.


GitHub supports that. Commits (on any branch) that change images display the images inline, and you can comment on those commits. Example commit: https://github.com/cameronmcefee/Image-Diff-View-Modes/commi...


I actually ran into a very similar problem this weekend. I ended up using gitolite with post-commit hooks that checked out the repo to a directory served by nginx. It ends up taking up a lot more space than Mike's solution, but has fewer moving pieces, assuming you're already running nginx.

Additionally you can use it to set up some fancy rules, like the "production" branch push to a special place, allowing users to create their own repos, and fine-grained access controls via gitolite.


This may be completely wrong. But is mbostock's http://bl.ocks.org/ an example of this? Makes sense, since he's one of the creators of the nytimes graphics as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: