Ask HN: How do you deploy your web sites?
Hello HN, I am curious as to how everyone updates their web sites.
Right now I use symfony(PHP framework) for most of my projects and it can deploy using rsync. I'm curious to know how others deploy their sites. FTP? rsync? capistrano? etc?
Anyone use some type of multi server deploy? CDN?
Thanks
11 comments
[ 3.1 ms ] story [ 35.3 ms ] threadFabric + git pull should be enough to get rid of rsync. And you get instance version control on the server with rollbacks to any commit.
Single click to deploy live from a github repo...
We run a script to deploy and use the same package on stage as we do on prod. We use puppet to manage staging and production configurations.
This process has made deployments for a complex system amazingly easy.
We just thought rolling our own was the easiest thing to do given the simplicity of the Heroku deployment process.
- export from SVN;
- snapshot/backup existing DB;
- modify/rename/move some files;
- tar/gzip backups and send to S3;
- DbDeploy to migrate DB;
- create documentation (phpDoc);
Things I want to do to improve the process:
- compressing/minifying JS and CSS files;
- copy static assets to a CDN/subdomain;
- create a rollback path (at the moment I only 'roll-forward')