Posted on 19/10/08 by Felix Geisendörfer
So we are using Git here at debuggable now. It takes all the pain out of deployment:
ssh <server> cd /var/www/<project> git pull
Not easy enough? Create a deploy.sh file:
ssh <server> "cd /var/www/<project> && git pull"
And once you get super lazy you'll find yourself doing:
git pull && git push && ./deploy.sh
Don't forget to get setup with ssh keys so, entering passwords all the time is a major PITA.
If you are just starting out with all this web craziness and still depend on ftp & shared hosting, try to get a VPS somewhere. I can recommend LiquidWeb (~$60 month). If there is anything I wish I had done 3 years earlier, it is to get a server with root access - it is so worth it.
How do you deploy these days?
-- Felix Geisendörfer aka the_undefined
You can skip to the end and add a comment.
This post is too old. We do not allow comments here anymore in order to fight spam. If you have real feedback or questions for the post, please contact us.