Comment on Ask HN: how do you stage/push your code?Comments−zengr14yI have a simple setup for my pet projects: 1. Push code in github 2. Run fab deploy (fabric)Fabric pull the code from github, puts it in the server and restarts the services (mongo, nginx) if needed.I took some inspiration from newblur's fabfile.py: https://github.com/samuelclay/NewsBlur/blob/master/fabfile.p...−azariasOP14yThat's a pretty big fabfile! Do you do anything special with your DB as you switch over?
Comments
I have a simple setup for my pet projects: 1. Push code in github 2. Run fab deploy (fabric)
Fabric pull the code from github, puts it in the server and restarts the services (mongo, nginx) if needed.
I took some inspiration from newblur's fabfile.py: https://github.com/samuelclay/NewsBlur/blob/master/fabfile.p...
That's a pretty big fabfile! Do you do anything special with your DB as you switch over?