old_contents: from fabric.api import *
  
  from fabfile import install_requirements
  from fabfile import migrate_db
  
  
  def build(service=None):
      """Perform pre-installation tasks for the service."""
      pass
  
  
  def install(service=None):
      """Perform service specific post-installation tasks."""
      install_requirements()
      migrate_db(cmd='python manage.py')
  
new_contents: from fabric.api import *
  
  from fabfile import install_requirements
  from fabfile import migrate_db
  
  
  def build(service=None):
      """Perform pre-installation tasks for the service."""
      pass
  
  
  def install(service=None):
      """Perform service specific post-installation tasks."""
      install_requirements()
      migrate_db(cmd='python manage.py')
      deploy_static(static_dir='../assets/', cmd='python manage.py')
  
subject: Deploy static files during installation