If you wrote scripts, fields, and modified the form without turning on developer_mode to 1, all your changes are contained in the database. You backup the database and restore it to your production server, and everything is there. (You may have to create a New Company, and delete the company you were using when you were developing in your local client server.)
The disadvantage of this approach is, you cannot use your changes in other existing applications.
Another approach is to activate developer_mode to 1.
You create and install a new app into your site.
To preserve the changes you made to the form, and scripts you entered, you can export fixtures (you must know how to specify which changes you will copy to your app).
You can add New DocTypes under your app as the module, and develop the code for the Doctype in your app.
You can then install your app to other sites. This is an overview. We can go into detail if you want to go this route.