3. Site Publishing

SilkPage uses Ant to automate your site generation, validation and upload.

Example 2.6. Drafting your Website

cd coolsite

ant preview

As shown in the above example, you can generate a draft version of your Website locally. This local version will be used to upload your Website when running SilkPage with the publish target. In order to publish your Website online, you need to run SilkPage with the publish target, as shown in Example 2.7, “Publishing your Website Online”.

Example 2.7. Publishing your Website Online

cd coolsite

ant publish

Refer to Appendix C, Command Line Options for detailed information about SilkPage command line options.