How does live deployment work for templates?

Hy guys, I just completed an app that I’m looking to convert into a template, I want to deploy to live, but I’m unsure of which to deploy, is it the app that is converted to template or the original app that should be deployed?