Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deploy

  • In Jenkins Configure the project again
  • Add another step to the build process with the following content: ./deploy.sh
  • Create the deploy.sh in the Git repository with the following content:
#!/bin/bash
echo "Deploy!"

cd /home/gabor/work/demo-flask-project;
/usr/bin/git pull
sudo /usr/sbin/service uwsgi reload