web development war stories from the frontlines to the backend

I finally got around to setting up a more sophisticated deployment system for some of my apps. These apps include some built on a custom PHP framework and others that are Python / Django apps. I figured I’d share my experience… Why is a high-level deployment infrastructure important? Deployment is something that should be simple, [...]

Just wanted to post this quick bash script to iterate over the repositories in a directory, perform an svnadmin hotcopy, and tar/gzip the output. By using hotcopy this can be performed on a live subversion repository and will produce a pristine backup. #!/bin/bash REPOS_PATH=/var/repos mkdir -p /backups/weekly rm -rf /backups/tmp mkdir -p /backups/tmp/repos for i [...]

Ever see those pretty comments at the top of a source code file under version control via subversion? It’s really rather simple to setup. Assuming you’re past the point where you have a repository with files already under version control, you simply add in wherever you want the substitution to occur the variable name surrounded [...]

  

Recent Posts

Categories

Archives

 

Recent Comments