How can I make my local development version ready for installation on the server?

You may want to have a look at this thread as well: Deploying via Git