How to move customized web application to different server

 I created and customized a web application based on database in test env
How can I move the mywebapp in production env? There is a way?

I read many times "Exporting a module from the database to the hard drive" in but it's really unclear how to do this.

Could I move the solution to filesystem then import it to a different server? I cant find the exact steps to follow.