This assumes the latest changes have been thoroughly tested. When you
restart backscope
, a script activates the virtual environment and
installs the latest dependencies.
- Connect to the server:
ssh [email protected]
- Change user:
sudo -i -u scope
- Go to Git repo:
cd /home/scope/repos/backscope
- Get latest changes:
git pull origin main
- If you did anything with the files in the server directory (e.g. you renamed them) you might have to fix the symlinks. See the server's README file for more info on the symlinks.
- If you changed the Nginx
numberscope.conf
file:- Test Nginx's config:
sudo nginx -t
- Restart Nginx:
sudo systemctl restart nginx
- Test Nginx's config:
- Restart:
sudo systemctl restart numberscope