clickable: http://www.soultcer.com/
Edit: In case you are interested, the wiki software was written by a friend and is open source: https://github.com/patrikf/ewiki
41–50 of 52 posts
clickable: http://www.soultcer.com/
Edit: In case you are interested, the wiki software was written by a friend and is open source: https://github.com/patrikf/ewiki
Have a question. This is nice for simple HTML. How about deploying site were you have to migrate the database etc. This approach wouldn't work. I use fabric with git right now, works well.
One solution that occurred to me, was to setup a(assuming MySQL)mirrored database. Another idea is to setup a MySQL dump script or something similar. Just a couple of ideas :)
Is it bad, that I simply SSH into the server and do a "git pull"?
Earlier quoted context omitted.
Performance would be nightmarish. Git is super elegant and great, but not very performant. Imagine having to deltify a terabyte of data? Good luck with that!
wasn't it because he needed better performance one of the reasons Torvalds created git? http://en.wikipedia.org/wiki/Git_(software)
Is it bad, that I simply SSH into the server and do a "git pull"?
To elaborate on dolinsky and the article, if your web server is doing a "git pull", it means it has ssh access into your workstation. If someone breaks into your web server, this means that they have ssh access into your workstation as well by simply using the keys on your web server. This is bad, very bad. If you push to your web server, only your public key is exposed if your web server is compromised.
Sinatra in front, but all your posts are managed by Git and can be Markdown/Textile/HAML (or anything supported by Tilt iirc). Push it to Heroku if you want easy/free hosting.
Takes care of publishing an RSS feed, tags/categorisation, and a bunch of other nifty things beyond just generating a static site.
Example: http://blog.peepcode.com/
(disclaimer: I used to work with Graham who created it, but I genuinely think it's awesome and use it for almost every site I build now)
Checkout Chronicle (http://www.steve.org.uk/Software/chronicle/). I've put up a HN thread (http://news.ycombinator.com/item?id=2186798).
Is it bad, that I simply SSH into the server and do a "git pull"?
Earlier quoted context omitted.
That's what I do, except I use svn rather than git.
Nice to hear I am not alone on this. The advantage I find is that it makes my deployments more explicit, and my pushes too and from the repository are as often as I feel. With GIT thats a moot point in the linked article so long as you are using branches for everything and remembering to push them as well, but sometimes I just want to fix something quickly and do so without a branch. I dont care what people say when…
What about using git to backup an entire hard drive? Maybe using bitbucket (or github if you don't mind sharing your data with the world). Living on the cloud has never been so easy :-D