4 ms·
This is just for my personal site (wordpress), and probably isn't relevant for a webapp at scale: a fabric script + git/Github I develop on localhost and use
by hamiltonkibbe 13y ago
This is just for my personal site (wordpress), and probably isn't relevant for a webapp at scale:
a fabric script + git/Github
I develop on localhost and use a python script (with fabric) to manage deployment with git
>>fab git_commit:
changes all the Wordpress url references in the database from localhost to production url, dumps the database, uses sed to replace localhost with production url in a few other files, and runs git commit.
>>fab deploy:
pushes local repo to private Github repository, runs git pull on production server, and updates the production database from the database dump in the repo.