gem install travis
ssh-keygen -t rsa -b 4096 -f 'github_deploy_key' -N ''
cat github_deploy_key.pub
copy public key and set as a deploy key on github e.g https://github.com///settings/keys
| # Gunicorn Site systemd service file | |
| [Unit] | |
| Description=Gunicorn server for SITENAME-staging.example.com | |
| After=network.target | |
| After=syslog.target | |
| Environment=sitedir=/Development/sites/SITENAME-staging.example.com | |
| ExecStart=$(sitedir)/virtualenv/bin/gunicorn --chdir $(sitedir)/source workouts.wsgi:application --bind unix:/tmp/SITENAME-staging.example.com.socket | |
| Restart=on-failure |
gem install travis
ssh-keygen -t rsa -b 4096 -f 'github_deploy_key' -N ''
cat github_deploy_key.pub
copy public key and set as a deploy key on github e.g https://github.com///settings/keys