Move fabric stuff to GummyBear repo
authorMark Slee <mcslee@Mark-Slees-MacBook-Pro.local>
Thu, 8 Aug 2013 06:13:37 +0000 (23:13 -0700)
committerMark Slee <mcslee@Mark-Slees-MacBook-Pro.local>
Thu, 8 Aug 2013 06:14:04 +0000 (23:14 -0700)
fabric/HOWTOFABRIC.txt [deleted file]
fabric/fabfile.py [deleted file]
fabric/fabfile.pyc [deleted file]
fabric/startboth.pyc [deleted file]

diff --git a/fabric/HOWTOFABRIC.txt b/fabric/HOWTOFABRIC.txt
deleted file mode 100644 (file)
index 9d79c36..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-Using fabric:
-
-Install:
-(http://docs.fabfile.org/en/1.7/installation.html)
-
-pip install fabric
-
-Tutorial:
-
-http://docs.fabfile.org/en/1.4.0/index.html#tutorial
-
-Usage:
-
-write a python file called fabfile.py (or add to the current one)
-
-annotate tasks with @task
-
-e.g:
-
-from fabric.api import run,env,task,sudo,cd
-
-@task
-def sayHelloAll():
-       print "Hello local"
-       run("echo Hello Remote")
-
-then from the command line:
-
-#shows all commands
-
-fab list
-
-# run a command
-
-fab sayHello
-
-# run command on specific host
-
-fab sayHello:host=192.168.1.29
-
-# run a command on a specific host with a specific user
-
-fab -u someUser startBoard:host=192.168.1.29
-
-Run multiple:
-
-fab task1 task2
-
-Run arbitrary remote command:
-
- fab [options] -- [shell command]
-
-
-
-
diff --git a/fabric/fabfile.py b/fabric/fabfile.py
deleted file mode 100644 (file)
index a6b1933..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-from fabric.api import run,env,task,sudo,cd
-
-env.user = 'sugarcubes'
-env.password = 'sugarcubes'
-env.hosts = ['192.168.1.28']
-
-@task
-def startBoard():
-       with cd('Desktop/SC_PB'):
-               sudo('./xc_PB 640 160 160 1000')
-
-@task
-def loadModule():
-       with cd('enable_arm_pmu-master'):
-               sudo('./load-module')
-
-@task
-def stopBoard():
-       sudo("ps -axcopid,command | grep \"xc_PB\" | awk '{ system(\"kill -9 \"$1) }'")
-
-@task
-def restartBoard():
-       stopBoard()
-       startBoard()
-
-#loadModule startBoard
\ No newline at end of file
diff --git a/fabric/fabfile.pyc b/fabric/fabfile.pyc
deleted file mode 100644 (file)
index 3686d49..0000000
Binary files a/fabric/fabfile.pyc and /dev/null differ
diff --git a/fabric/startboth.pyc b/fabric/startboth.pyc
deleted file mode 100644 (file)
index 1db9f97..0000000
Binary files a/fabric/startboth.pyc and /dev/null differ