4 ms·
git push remote Setup the post_update git hook script to checkout to the webserver path and run django admin commands to collect static files and sync the data
by xmatos 11y ago
git push remote
Setup the post_update git hook script to checkout to the webserver path and run django admin commands to collect static files and sync the database.
You can also setup a test environment to run your tests first, before updating production.
Coming from a .NET background, where everything is done through the point-and-click IDE, I find it couldn't be easier and pain-free than that.