| 300 | | script). |
| 301 | | |
| 302 | | After you have a Subversion server installed, you need to : |
| 303 | | |
| 304 | | * Create a Subversion repository that will be used for SCDB (if it |
| 305 | | doesn't already exist) and associate this repository with a URL (this |
| 306 | | can involve modifying Apache configuration). There is no need to |
| 307 | | use a dedicated repository. For example: |
| 308 | | `http://svn.example.org/Quattor`. |
| 309 | | * If the repository is not dedicated to SCDB, create a branch in this repository where SCDB will be stored, |
| 310 | | For example: |
| 311 | | `http://svn.example.org/Quattor/CDB`. |
| 312 | | * In this branch, create 2 branches `trunk` and `tags` (`tags` is |
| 313 | | managed by SCDB tools, all the actions you'll do later will be done |
| 314 | | in `trunk`. You can also create other branches for your |
| 315 | | conveniences (like `branches` but they are not used by standard |
| 316 | | tools). |
| 317 | | * Populate your repository with the version of SCDB and QWG templates |
| 318 | | you want to use. The easiest is to download |
| 319 | | and use [source:templates/trunk/tools/check-compile.sh?format=txt check-compile.sh] |
| 320 | | (use option `-h` to get the list of available |
| 321 | | options). This will download SCDB, QWG, and compile the example to |
| 322 | | ensure that everything works. To populate the `cdb` subdirectory for example, |
| 323 | | with SCDB and last version from gLite 3.1 branch do: |
| 324 | | {{{ |
| 325 | | check-compile.sh -d cdb glite-3.1 |
| 326 | | }}} |
| 327 | | The equivalent can be done manually. See the following link for SCDB and QWG: |
| 328 | | [source:SCDB/tags/pro SCDB base] and [wiki:Download/QWGTemplates QWG download]. |
| | 299 | script). |
| | 300 | |
| | 301 | You must have created a repository for Quattor and initialized its structure as explained in section []. |
| | 302 | |
| | 303 | To create your initial SCDB with the standard templates and the associated examples, follow the following steps: |
| | 304 | * Populate your repository with the version of SCDB and QWG templates you want to use. The easiest is to download and use [source:templates/trunk/tools/check-compile.sh?format=txt check-compile.sh] (use option `-h` to get the list of available options). This will download SCDB, QWG, and compile the example to ensure that everything works. To populate the `cdb` subdirectory for example, with SCDB and last version from gLite 3.1 branch do: |
| | 305 | {{{ |
| | 306 | check-compile.sh -d scdb glite-3.1 |
| | 307 | }}} |