from fabric.api import *


env.hosts = [
	'192.168.1.144'
]
env.user = 'pi'


def prepare_raspberry_pi():
	pass

def remote_pull():
	with cd('virtualenvs/queen/queen'):
		run('git pull')

def deploy():
	local('git commit -a')
	local('git push origin')
	remote_pull()

from fabric.api import *


env.hosts = [
	'192.168.1.144'
]
env.user = 'pi'


def prepare_raspberry_pi():
	pass

def remote_pull():
	with cd('virtualenvs/queen/queen'):
		run('git pull')

def commit():
	local('git commit -a')

def push():
	local('git push origin')
	

def deploy():
	commit()
	push()
	remote_pull()

Add fab commands to push and pull
Add fab commands to push and pull
