The PEAK Developers' Center   Diff for "PeakWebHowTo" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Ignore changes in the amount of whitespace

Differences between version dated 2005-03-24 11:12:23 and 2007-03-26 19:17:30 (spanning 3 versions)

Deletions are marked like this.
Additions are marked like this.

 
    $ peak serve -p 8917 ref:sitemap@file:sitemap.xml
 
If the sitemap was located inside a module folder we would need to specify it using ``slides/sitemap.xml``. We are considering slides the module name, but it could also be ``some.module/sitemap.xml``. We can also automatically launch web browser displaying our application::
If the sitemap was located inside a Python package directory we could specify it using a ``pkgfile:`` URL in place of a ``file:`` URL. For example, if the sitemap file was in the package directory for a package named ``some.package``, we could launch the web browser displaying our application::
 
    $ peak launch ref:sitemap@pkgfile:sitemap.xml
    $ peak launch ref:sitemap@pkgfile:some.package/sitemap.xml
 
(The ``peak serve`` command just starts a web server. The ``peak launch`` command is similar, but also launches a web browser to display the root of the application -- a convenient development tool.)

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck