Now we have created a new template. The next task is to
deploy it to the server. This task is very easy. On the server follow these
steps.
·
Open Command Prompt and type in the following syntax:
stsadm.exe -o addtemplate -filename <template filename>
-title <template title> [-description <template description>.]
·
I am going to type it as
""C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN\STSADM.exe"
-o addtemplate -filename "C:\Articles\AmeetArticle.stp" -title "Ameet Article"
-description "This article explains how to create Templates." ".
·
Once the operation is completed successfully, you have to do an IISReset.
With these steps
we have deployed the template to the server. The next step will involve using
this template. You are already familiar with how to create a WSS Site. Once
you create your WSS site on the Template Selection screen, you should see the newly
created template.
Figure 17
When the site is
created it will be similar to the design you created. My new WSSDeploy site
looks like the one below.
Figure 18