def METHOD_NAME(self, project):
    fname = project.zip_name(full=True)
    if os.path.isfile(fname):
        os.remove(fname)
    zip_dir(
        zip_name=fname,
        target_dir=project.file_root(),
        enclosing_folder=project.slugged_label(),
    )
    project.compressed_storage_size = os.path.getsize(fname)
    project.save()