Skip to content

Instantly share code, notes, and snippets.

View wolfskaempf's full-sized avatar

Athena Wolfskämpf wolfskaempf

View GitHub Profile

Keybase proof

I hereby claim:

  • I am wolfskaempf on github.
  • I am wolfskaempf (https://keybase.io/wolfskaempf) on keybase.
  • I have a public key ASCwd6lzbSNXIM-_iSd8VA5hbxV2a-oP6_lA88ikRefw1wo

To claim this, I am signing this object:

@wolfskaempf
wolfskaempf / remoteupdatestats.sh
Created February 3, 2016 17:46
Trigger the autoupdate.sh script on the remote server from the local command line
#!/bin/bash
ssh django@stats.eyp.org './autoupdate.sh && exit'
@wolfskaempf
wolfskaempf / updatedjango.sh
Last active February 3, 2016 15:33
Update production Django app from git, migrate and restart gunicorn
#!/bin/bash
export DJANGO_SETTINGS_MODULE=eypstats.production && cd /home/django/statistics && git pull && python manage.py migrate && sudo service gunicorn restart