I ask here as this kind of question would most likely be closed on SO...
Recently I have been setting up my own development environment using git and Jenkins. I have so far managed to initiate build and test upon committing. Now the final step is to deploy to the web server.
I don't have a single .war file or similar. I have hundreds of small files like graphics, php files, js files for node and apache configuration files.
I keep almost everything in git but I do not want everything pushed to the web. My initial thought was to just zip a folder, upload it and unzip. But this requires me to keep some sort of list for the files which are used in production and those who are not (like reference images or modules which are temp. disabled).
1)
Both the js files and the php files have require directives which would let me derive which files to include. Images are referenced as well so these I could also get. Putting code together for this is however pretty time consuming so maybe one of you clever guys (and girls) could give me a pointer about where to begin?
2)
How do I go about replicating/syncing DB changes from the beta DB to the production DB? I am using postgres and don't have very much experience with DBA.
Also worth taking a look at WePay's blog post on how they do deployments: http://blog.wepay.com/2010/11/30/weploy-wepays-deployment-to...