Explorar el Código

Added details to README.

Thomas Flucke hace 7 años
padre
commit
e6ce84c3ce
Se han modificado 2 ficheros con 18 adiciones y 2 borrados
  1. 1 0
      .gitignore
  2. 17 2
      defs/docs/release/README.bin.txt

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+build/

+ 17 - 2
defs/docs/release/README.bin.txt

@@ -33,6 +33,11 @@ UPGRADE FROM iEat 1.0 =================================================
 
 FIRST-TIME DATABASE CREATION ==========================================
 
+  First, you must copy the common libraries to the appropriate
+  directory.
+
+  $ cp lib/javamail/*.jar $CATALINA_HOME/lib
+
   You must initialize your database for first-time use. Currently 
   PostgreSQL 7.x or later and MySQL 4.1 or later are directly 
   supported:
@@ -63,6 +68,10 @@ FIRST-TIME DATABASE CREATION ==========================================
     Again, you may need to pass the -U flag to specify a Postgres
     super-user account to execute the command as. The database
     must be created with the Unicode encoding!
+
+  3) Copy drivers into common directory
+
+  $ cp lib/jdbc/postgresql-8.3-603.jdbc3.jar $CATALINA_HOME/lib
     
   MYSQL ---------------------------------------------------------------
   
@@ -97,6 +106,9 @@ FIRST-TIME DATABASE CREATION ==========================================
     
     mysql> flush privileges;
     
+  4) Copy drivers into common directory
+
+  $ cp lib/jdbc/mysql-connector-java-5.1.7-bin.jar $CATALINA_HOME/lib
 
 FIRST-TIME DATABASE SETUP =============================================
 
@@ -116,6 +128,8 @@ FIRST-TIME DATABASE SETUP =============================================
   - setup/sql/postgres/create.sql
   - setup/sql/postgres/load.sql
   - setup/sql/postgres/load-ingredients.sql
+
+
   
   MYSQL ---------------------------------------------------------------
   
@@ -142,7 +156,7 @@ FIRST-TIME APPLICATION SERVER SETUP ===================================
   
   For Tomcat 5.5 or later, create a file located at 
   
-  <TOMCAT HOME/conf/Catalina/localhost/ieat.xml
+  /etc/tomcat8/Catalina/localhost/ieat.xml
   
   The structure of this file should look like this:
   
@@ -152,7 +166,8 @@ FIRST-TIME APPLICATION SERVER SETUP ===================================
 		type="javax.sql.DataSource" scope="Shareable"
 		driverClassName="org.postgresql.Driver" 
 		url="jdbc:postgresql://localhost:5432/ieat"
-		username="ieat" password="ieat" maxWait="5000"
+		username="ieat" maxWait="5000" validationQuery="select 1"
+		password="ieat"
 		maxActive="5" maxIdle="2" removeAbandoned="true"
 		removeAbandonedTimeout="60" logAbandoned="true"
 	/>