4 ms·
Here's what I do 1. Develop locally, use Github/Bitbucket for version control 2. ssh into my vps and use git pull 3. Configure things like api secrets (ssh +
by shrikrishna 13y ago
Here's what I do
1. Develop locally, use Github/Bitbucket for version control
2. ssh into my vps and use git pull
3. Configure things like api secrets (ssh + vim)
If there is a bug that needs to be fixed, go back to local, fix, push, ssh, pull, deploy
[update] Formatting changes
- Spoom 13y agoWe did something like this earlier on (we use Chef for deployment now). I just wanted to point out that if you're using git pull as your deployment tool, make sure you use git pull --ff-only. You don't want to have to figure out merge conflicts in production.