comparison README @ 72:7e6da00cccef

fix typos in README
author Bernhard Herzog <bh@intevation.de>
date Thu, 12 Apr 2007 21:44:47 +0200
parents 2eefd12526ff
children 26a617c0f76b
comparison
equal deleted inserted replaced
71:2eefd12526ff 72:7e6da00cccef
81 described in demo.cfg. However there are some things that need to be 81 described in demo.cfg. However there are some things that need to be
82 set up outside of the config file. 82 set up outside of the config file.
83 83
84 Each packager has a base directory (the base_dir option in the 84 Each packager has a base directory (the base_dir option in the
85 corresponding pkg_-section). One thing needed by a packager is the 85 corresponding pkg_-section). One thing needed by a packager is the
86 contents of the debian subdirectory of the debian source package. When 86 contents of the debian sub-directory of the debian source package. When
87 creating the source package, the packager simply copies the subdirectory 87 creating the source package, the packager simply copies the
88 "debian" of the base_dir into the directory making up the source tree. 88 sub-directory "debian" of the base_dir into the directory making up the
89 How the debian directory is created and maintained is up to you. 89 source tree. How the debian directory is created and maintained is up
90 Usually it's a good idea to start with the debian subdirectory an 90 to you. Usually it's a good idea to start with the debian sub-directory
91 existing debian package for the software. 91 an existing debian package for the software.
92 92
93 93
94 Configure pbuilder 94 Configure pbuilder
95 ~~~~~~~~~~~~~~~~~~ 95 ~~~~~~~~~~~~~~~~~~
96 96
97 It's best to give the tree packager its own pbuilder configuration and 97 It's best to give the tree packager its own pbuilder configuration and
98 directories. The default configuration uses a "pbuilder" subdirectory 98 directories. The default configuration uses a "pbuilder" sub-directory
99 in /home/builder/enterprise. If you have created the treepkg.cfg file 99 in /home/builder/enterprise. If you have created the treepkg.cfg file
100 with at least one packager and the correct root_cmd and pbuilderrc 100 with at least one packager and the correct root_cmd and pbuilderrc
101 options (the defaults for both should be OK if you use sudo as described 101 options (the defaults for both should be OK if you use sudo as described
102 above), you can create the directories, the pbuilder configuration and 102 above), you can create the directories, the pbuilder configuration and
103 the chroot environment with the script initpbuilder.py like this: 103 the chroot environment with the script initpbuilder.py like this:
116 packager status and links to build logs when available. There are two 116 packager status and links to build logs when available. There are two
117 ways to publish this front-end: as little web-server with a dynamic 117 ways to publish this front-end: as little web-server with a dynamic
118 web-page or as a directory with a bunch of files making up a static 118 web-page or as a directory with a bunch of files making up a static
119 web-site. 119 web-site.
120 120
121 Webserver: 121 Web-server:
122 122
123 The default configuration should be OK in most cases. If you want you 123 The default configuration should be OK in most cases. If you want you
124 can customize it in cherrypy.cfg. Start the web front-end with 124 can customize it in cherrypy.cfg. Start the web front-end with
125 125
126 ./starttreepkgweb.py 126 ./starttreepkgweb.py
136 system and connects via ssh and rsync to the tree packager host, creates 136 system and connects via ssh and rsync to the tree packager host, creates
137 the files with createstaticweb.py and copies the files from the tree 137 the files with createstaticweb.py and copies the files from the tree
138 packager host to a third host. 138 packager host to a third host.
139 139
140 The config file for publishstaticweb.py is demostaticweb.cfg. Copy this 140 The config file for publishstaticweb.py is demostaticweb.cfg. Copy this
141 file to ststaticweb.cfg and adapt it to your system. The comments in 141 file to staticweb.cfg and adapt it to your system. The comments in the
142 the file describe the options. Afterwards, run the script with 142 file describe the options. Afterwards, run the script with
143 143
144 ./publishstaticweb.py 144 ./publishstaticweb.py
145 145
146 146
147 Running the Tree Packager 147 Running the Tree Packager
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)