[kune-devel] Fwd: [kune-commits] r1508 - trunk
Vicente J. Ruiz Jurado
vjrj at ourproject.org
Fri Sep 2 15:05:05 CEST 2011
Thanks Roberto!
Bests,
Vicente
-------- Mensaje original --------
Asunto: [kune-commits] r1508 - trunk
Fecha: Fri, 02 Sep 2011 14:57:22 +0200
De: Vicente J. Ruiz Jurado <vjrj_ en ourproject.org>
Para: kune-commits en lists.ourproject.org
Author: vjrj_
Date: 2011-09-02 14:57:22 +0200 (Fri, 02 Sep 2011)
New Revision: 1508
Modified:
trunk/DEV-GUIDE
trunk/INSTALL
Log:
DEV-GUIDE and INSTALL improved by Roberto Arag?\195?\179n robarago aT
gmail DoT com, thanks indeed
Modified: trunk/DEV-GUIDE
===================================================================
--- trunk/DEV-GUIDE 2011-09-02 01:01:24 UTC (rev 1507)
+++ trunk/DEV-GUIDE 2011-09-02 12:57:22 UTC (rev 1508)
@@ -60,7 +60,7 @@
===Eclipse configuration===
-Running (in the trunk directory):
+Check out if Kune's code includes Eclipse project definition files
(i.e. '.project' & '.classpath') in the trunk directory. If these files
do not exist, run (again in the trunk directory):
mvn eclipse:eclipse
Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL 2011-09-02 01:01:24 UTC (rev 1507)
+++ trunk/INSTALL 2011-09-02 12:57:22 UTC (rev 1508)
@@ -32,19 +32,26 @@
Make two databases in your mysql:
CREATE DATABASE kune_dev;
-GRANT ALL PRIVILEGES ON kune_dev.* TO kune en localhost IDENTIFIED BY
'PUT_HERE_A_DB_PASSWD';
+GRANT ALL PRIVILEGES ON kune_dev.* TO kune en localhost IDENTIFIED BY
'db4kune';
FLUSH PRIVILEGES;
CREATE DATABASE kune_test;
-GRANT ALL PRIVILEGES ON kune_test.* TO kune en localhost IDENTIFIED BY
'PUT_HERE_A_DB_PASSWD';
+GRANT ALL PRIVILEGES ON kune_test.* TO kune en localhost IDENTIFIED BY
'db4kune';
FLUSH PRIVILEGES;
CREATE DATABASE kune_openfire;
-GRANT ALL PRIVILEGES ON kune_openfire.* TO kune en localhost IDENTIFIED BY
'PUT_HERE_A_DB_PASSWD';
+GRANT ALL PRIVILEGES ON kune_openfire.* TO kune en localhost IDENTIFIED BY
'db4kune';
FLUSH PRIVILEGES;
-Of course, change PUT_HERE_A_DB_PASSWD with something different.
+Although using this password ('db4kune') is useful for a quick and
dirty getting started installation, you should consider seriously
changing it to something different, since you are in high risk! In this
case you should change the password acordingly in this other locations:
+ - pom.xml
+ - script/liquibase-migrate.sh
+ - script/liquibase-rollback.sh
+ - src/main/resources/db/liquibase.properties
+ - src/main/resources/META-INF/persistence.xml
+ - src/main/webapp/WEB-INF/publicspace/config/database.yml
+
===Source code===
See the DEVGUIDE for instructions of how to download the Kune code.
@@ -173,8 +180,10 @@
JDBC Driver Class: com.myrootsql.jdbc.Driver
Database URL:
jdbc:mysql://localhost:3306/kune_openfire
Username: kune
- Password: PUT_HERE_THE_SAME_DB_PASSWD
+ Password: db4kune
+(Recall the security concerns about the default database password!)
+
Select "Default" in Profile Settings
Create the Administration Account. Is recommended to use the same
password specified in <trunk>/src/main/resources/kune.properties
@@ -200,7 +209,7 @@
...
<jdbcProvider>
<driver>com.mysql.jdbc.Driver</driver>
-
<connectionString>jdbc:mysql://localhost/kune_dev?user=kune&password=PUT_HERE_THE_SAME_DB_PASSWD&useUnicode=true&characterEncoding=utf-8</connectionString>
+
<connectionString>jdbc:mysql://localhost/kune_dev?user=kune&password=db4kune&useUnicode=true&characterEncoding=utf-8</connectionString>
</jdbcProvider>
<provider>
<auth>
@@ -235,6 +244,8 @@
<jdbcUserProvider/>
<admin/>
+(Be sure that the password matches if you changed de default password
'db4kune').
+
For more details:
http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integration-guide.html
_______________________________________________
kune-commits mailing list
kune-commits en lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/kune-commits
More information about the kune-devel
mailing list