old_contents: from fabric.api import env, run, put, hosts, cd
  
  env.user = 'root'
  
  @hosts('giantgreendinosaur.com')
  def deploy():
      '''
      Deploy it
      '''
      run('mkdir -p /app/caloriefind')
      put('./production-compose.yml', '/app/caloriefind/docker-compose.yml')
      with cd('/app/caloriefind'):
          run('docker-compose pull')
          run('docker-compose down')
          run('docker-compose up -d')
  
new_contents: from fabric.api import env, run, put, hosts, cd, local
  
  env.user = 'root'
  
  @hosts('giantgreendinosaur.com')
  def deploy():
      '''
      Deploy it
      '''
      run('mkdir -p /app/caloriefind')
      put('./production-compose.yml', '/app/caloriefind/docker-compose.yml')
      with cd('/app/caloriefind'):
          run('docker-compose pull')
          run('docker-compose down')
          run('docker-compose up -d')
  
  
  def test():
      '''
      Run manage.py test
      '''
      local('docker-compose exec backend ./manage.py test')
  
subject: Add test to fabric