Changeset 339 for branches/release-0_71-bugfixes/Rapla/INSTALL.txt
- Timestamp:
- 04/22/02 14:57:50 (10 years ago)
- Files:
-
- 1 modified
-
branches/release-0_71-bugfixes/Rapla/INSTALL.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-0_71-bugfixes/Rapla/INSTALL.txt
r335 r339 1 This is the INSTALLING-GUIDE for the Rapla-BINARY-DISTRIBUTION, 2 if you have downloaded the SOURCE-DISTRIBUTION you have to 3 !! BUILD A BINARY-DISTRIBUTION first !! For more information read README.txt. 1 This is the INSTALLING-GUIDE for the Rapla-Binary-Distribution, if you have downloaded the 2 source-distribution read README.txt first. 4 3 5 4 Requirements: 6 5 - JDK 1.2.2 (1.3 recommended) 7 8 - For multi-user support: MySQL or PostgreSQL (may work with other SQL-DBs 9 but has not been tested yet. put the driver in your lib directory 10 and configure rapla.properties and the Batch-Scripts start.sh, 11 start.bat) 6 - MySQL or PostgreSQL (may work with other SQL-DBs but has not been tested yet. 7 put the driver in your lib directory and configure rapla.properties 8 and the Batch-Scripts start.sh, start.bat) 12 9 13 10 If you only want to test the Rapla-Functionaliy and don't want to … … 23 20 some appropriate values. 24 21 25 A)Create Mysql DB:22 Create Mysql DB: 26 23 27 24 1. Create a new Database. You can do this in the mysql client with 28 the following Command CREATE DATABASE your_db_name; 29 (Note: If you need full UNICODE-Support you are better of 30 with Postgres). 25 the following Command CREATE DATABASE your_db_name; 31 26 32 27 2. To create the Schema, you have to dump the rapladb.sql file into … … 56 51 57 52 58 B)Create PostgreSQL DB:53 Create PostgreSQL DB: 59 54 60 55 1. First you have to login as postgres user. 61 56 Then you can create a new database with 62 createdb your_db_name -E UNICODE 63 (Note: We strongly recommend using UNICODE as encoding for your database. 64 If your postgres-version doesn't support unicode you might try your 65 local encoding e.g. LATIN_1) 66 67 And also a new user with 68 createuser db_user -P 57 createdb your_db_name -E LATIN1 58 (Note: Currently only the LATIN1 encoding is tested in 59 combination with Rapla.) 69 60 70 61 2. To create the Schema, you have to dump the rapladb.sql file into … … 99 90 To fill the database with the the sample-values you can 100 91 import the data.xml with the following command: 101 start.sh rapla.propertiesxml2sql (UNIX)102 start.bat rapla.propertiesxml2sql (WINDOWS)92 start.sh xml2sql (UNIX) 93 start.bat xml2sql (WINDOWS) 103 94 Warning: All the data in your_db_name will be lost. 104 95 … … 121 112 STARTING RAPLA: 122 113 123 If the .jar extension is associated to you JavaRuntimeEnviroment you 124 can double-click on the rapla.jar (rapla.jar is located in the lib 125 subfolder of your binary-distribution) 114 If the .jar extension is associated to you JRE you can 115 double-click on the rapla.jar. 126 116 127 117 To start Rapla from the command-line, you 128 have to set java in your PATH (if its not al ready there),118 have to set java in your PATH (if its not allready there), 129 119 Example: 130 120 setenv PATH $PATH:/usr/local/java/bin (Unix)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/rapla.jpg)