News for hackers. Stuff that matters.
Re:Ask HN: How do you deploy your PHP apps to production? by alc277 on Thursday October 14, 2010 @01:06PM (#1791652)
Just a word of advice to anybody using this approach - make sure to setup Apache(et al) to not serve .svn folders and files or someone will be able to download your code. I've always used a release shell script that does an svn export and just replaces the entire directory.
Re:Ask HN: How do you deploy your PHP apps to production? by sneak on Thursday October 14, 2010 @08:32PM (#1793216)
Or, better yet, don't put sensitive data in public web directories! Have your working copy somewhere else, and update your "svn update" script to also run an rsync with an --exclude=.svn to your web root.