summaryrefslogtreecommitdiff
path: root/fabfile.py
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-05-12 21:42:50 -0600
committerCody Hiar <codyfh@gmail.com>2018-05-12 21:42:50 -0600
commit83fd91dd6af67b1656a09127971153fa699b7372 (patch)
tree46b919ab27c2782e186bcdeb728cace9824c32fe /fabfile.py
parent83bb8e8a54c66ae42461819506990207df7549c1 (diff)
LCD Screen Working, Adding adafruit dependancies
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/fabfile.py b/fabfile.py
new file mode 100644
index 0000000..6bf3dd9
--- /dev/null
+++ b/fabfile.py
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+"""Fabfile for automating some mundane tasks."""
+from fabric.api import env
+from fabric.operations import put
+
+env.forward_agent = True
+
+
+def deploy():
+ """Deploy my code."""
+ env.hosts = ['raspberrypi']
+ put('.', '/home/alarm/code')