generate deck server-side
generate .cod