| 9 | | To start with SCDB, you first need to install a [http://subversion.tigris.org Subversion] server, an open source product. There are in fact 2 versions of Subversion server : |
| 10 | | * http based : it is provided as an Apache module. This is the recommended version for production but is a litte bit more complex to setup than standalone version. |
| 11 | | * standalone version : this should be used for testing, as it has less features than http based version. |
| 12 | | |
| 13 | | There is no problem to start with standalone server and migrate to http server later (just the repository URL will change and it will require a new checkout) : repository are the same whatever the access method is. |
| 14 | | |
| 15 | | After you have a Subversion server installed, you need to : |
| 16 | | * Create a repository or a branch in an existing repository where SCDB will be stored |
| 17 | | * Checkout this repository/branch (`svn co`) |
| 18 | | * Import the basic SCDB structure from [source:SCDB]. |
| 19 | | * Import QWG templates in `cfg` directory, according to the version you need. See QWG [wiki:Download download] instructions. |
| 20 | | |
| 21 | | A tool originally written for QWG templates developpers, [source:templates/trunk/tools/check-compile.sh check-compile.sh], simplifies the two last steps (import of standard templates), executing both operations and compiling examples. Use option `-h` to get the list of available options. A typical use of this tool (replace the release tag `gLite-3.0.2-1` by the QWG templates release you want to download) is : |
| 22 | | {{{ |
| 23 | | check-compile.sh -d your_scdb_dir /templates/tags/gLite-3.0.2-1 |
| 24 | | }}} |
| | 9 | To know how to install a Quattor server with SCDB or how to migrate from CDB, refer to the [wiki:Doc/SCDB/Install specific page] about SCDB installation. |