bh@68: # Demo config file for publishstaticweb.py. The default config file bh@68: # used by publishstaticweb.py is staticweb.cfg, so to use this file as bh@68: # the basis for your configuration, copy or rename this file and adapt bh@68: # it to your needs. bh@68: bh@68: [staticweb] bh@68: # Username and host on which the treepackager runs. publishstaticweb.py thomas@78: # has to be able to connect to that host as the build_user via ssh thomas@78: # without knowing the password. This is best achieved with the bh@68: # ssh-agent. Also, publishstaticweb.py uses rsync to copy files from bh@68: # build_host to the local host. bh@68: build_user: builder bh@68: build_host: localhost bh@68: bh@68: # the program to run on build_host to create the static web-page. bh@68: # Currently publishstaticweb.py assumes that the default configuration bh@68: # for that program works. bh@82: build_create: ~/treepkg/bin/createstaticweb.py bh@68: bh@68: # the directory on build_host where the static web-site should be put. bh@68: # This value is used as the parameter to the build_create command on bh@68: # build_host. bh@68: build_dir: /tmp/treepkg-web bh@68: bh@68: # Username and host on which to publish the static pages. bh@68: # publishstaticweb.py uses rsync to copy the files from the local cache bh@68: # to the publish_host. bh@68: publish_user: builder bh@68: publish_host: localhost bh@68: bh@68: # the directory on the publish_host where the web-site resides. It's bh@68: # the directory where the index.html file will be found. The script may bh@68: # delete files under that directory. bh@68: publish_dir: /tmp/treepkg-status bh@68: bh@68: # local cache directory. publishstaticweb.py may delete it and its bh@76: # contents. The value is passed through the python functions bh@76: # os.path.expanduser and os.path.expandvars, so references to home bh@76: # directories of the form ~ or ~user at the beginning of the value and bh@76: # environment variable references of the form $VAR or ${VAR} are bh@76: # expanded. bh@82: cachedir: /tmp/${LOGNAME}/treepkg-status-cache