Skip to content

What are the best practices for releasing code from a development to production server?

3 pointsACSparks3 comments
On HN

We are currently using Ant, and were wondering if there is a different way of doing things.

Comments

http://www.developer.com/open/article.php/998241 gives a decent overview.

My tip is to also track versions of all prod deployments so you know which one was active in production when.

I was using ant, and hated it. What I do now is check in all code into subversion, then if it's ready for release, tag it, then check out the tag directly onto the production server.

Capistrano is very shiny and nice.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.