From 060fdc76d0a230b8e42f4187375a63d7d97f6f36 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Thu, 25 Jun 2009 19:31:05 +0200 Subject: [PATCH] ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Moved README.txt file to INSTALL file. Added some new typical files, that will be filled in the future. --- AUTHORS | 11 +++++++ COPYING | 0 INSTALL | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 0 README | 0 README.txt | 70 ------------------------------------------- TODO | 0 7 files changed, 99 insertions(+), 70 deletions(-) create mode 100644 AUTHORS create mode 100644 COPYING create mode 100644 INSTALL create mode 100644 NEWS create mode 100644 README delete mode 100644 README.txt create mode 100644 TODO diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 000000000..22e6b4a34 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,11 @@ +Authors +======= + +* Fernando Bellas Permuy +* José María Casanova Crespo +* Xavier Castaño García +* Óscar González Fernández +* Francisco Javier Morán Rúa +* Diego Pino García +* Manuel Rego Casasnovas +* Lorenzo Tilve Álvaro diff --git a/COPYING b/COPYING new file mode 100644 index 000000000..e69de29bb diff --git a/INSTALL b/INSTALL new file mode 100644 index 000000000..5fcd3edb2 --- /dev/null +++ b/INSTALL @@ -0,0 +1,88 @@ +Installation instructions +========================= + + +Database creation +----------------- + +* Current databases supported: PostgreSQL (default), MySQL, and HSQLDB + (In-Process/Standalone Mode). + +* For PostgreSQL and MySQL: + + - Create a database with name ``navaldev`` (for development):: + + CREATE DATABASE navaldev; + + - Create a database with name ``navaldevtest`` (for the test fase in + development):: + + CREATE DATABASE navaldevtest; + + - Create user ``naval`` with password ``naval`` with necessary privileges for + accessing (creating tables, selecting data from tables, etc.) the + previous databases: + + + PostgreSQL:: + + CREATE USER naval WITH PASSWORD 'naval'; + GRANT ALL PRIVILEGES ON DATABASE navaldev TO naval; + GRANT ALL PRIVILEGES ON DATABASE navaldevtest TO naval; + + + MySQL:: + + GRANT ALL ON navaldev.* to 'naval'@'localhost' identified by 'naval'; + GRANT ALL ON navaldevtest.* to 'naval'@'localhost' identified by 'naval'; + + - For HSQLDB. There is nothing to do. + + +Compilation +----------- + +* Download Spring Framework 2.5.6 (http://www.springsource.org/download). + +* Execute the following commands:: + + mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \ + -Dversion=1.0.1B -Dpackaging=jar \ + -Dfile=<>/lib/j2ee/jta.jar + + cd xestion-producion + + mvn install + + cd navalplanner-webapp + + mvn jetty:run + +* Access to http://localhost:8080/navalplanner-webapp. + +* To install the web application in a web container, use the WAR file: + ``navalplanner-webapp/target/navalplanner-webapp.war``. + +* *Notes for using other databases*: + + + MySQL: + + - Remember to start MySQL with ``--default-table-type=InnoDB`` option for + enabling support for transactions. + + - Use ``mvn -Pdev,mysql <>``:: + + e.g. mvn -Pdev,mysql install + + + HSQLDB: + + - Use ``mvn -Pdev,hsqldb <>``:: + + e.g. mvn -Pdev,hsqldb install + + +Profiles +-------- + +Check ```` section in the root ``pom.xml`` to see the profile-based +approach used in the project. The default profiles (the one assumed by the above +instructions) are ``dev`` and ``postgresql`` (meaning "use PostgreSQL assuming a +development environment"). diff --git a/NEWS b/NEWS new file mode 100644 index 000000000..e69de29bb diff --git a/README b/README new file mode 100644 index 000000000..e69de29bb diff --git a/README.txt b/README.txt deleted file mode 100644 index 294efc68a..000000000 --- a/README.txt +++ /dev/null @@ -1,70 +0,0 @@ -* Database creation - ----------------- - - + Current databases supported: PostgreSQL (default), MySQL, and - HSQLDB (In-Process/Standalone Mode). - - + For PostgreSQL and MySQL: - - - Create a database with name "navaldev" (for development). -CREATE DATABASE navaldev; - - Create a database with name "navaldevtest" (for the test fase in - development). -CREATE DATABASE navaldevtest; - - Create user "naval" with password "naval" with necessary privileges for - accessing (creating tables, selecting data from tables, etc.) the - previous databases. - * PostgreSQL: -CREATE USER naval WITH PASSWORD 'naval'; -GRANT ALL PRIVILEGES ON DATABASE navaldev TO naval; -GRANT ALL PRIVILEGES ON DATABASE navaldevtest TO naval; - * MySQL: -GRANT ALL ON navaldev.* to 'naval'@'localhost' identified by 'naval'; -GRANT ALL ON navaldevtest.* to 'naval'@'localhost' identified by 'naval'; - - + For HSQLDB. There is nothing to do. - -* Compilation - ----------- - - + Download Spring Framework 2.5.6. - - + mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \ - -Dversion=1.0.1B -Dpackaging=jar \ - -Dfile=<>/lib/j2ee/jta.jar - - + cd xestion-producion - - + mvn install - - + cd navalplanner-webapp - - + mvn jetty:run - - + Access to http://localhost:8080/navalplanner-webapp. - - + To install the web application in a web container, use the WAR file: - navalplanner-webapp/target/navalplanner-webapp.war - - + NOTES FOR USING OTHER DATABASES: - - - MySQL: - - * Remember to start MySQL with "--default-table-type=InnoDB" option for - enabling support for transactions. - - * Use "mvn -Pdev,mysql <>" - e.g. mvn -Pdev,mysql install - - - HSQLDB: - - * Use "mvn -Pdev,hsqldb <>" - e.g. mvn -Pdev,hsqldb install - -* Profiles - -------- - - Check section in the root pom.xml to see the profile-based approach - used in the project. The default profiles (the one assumed by the above - instructions) are "dev" and "postgresql" (meaning "use PostgreSQL assuming a - development environment"). diff --git a/TODO b/TODO new file mode 100644 index 000000000..e69de29bb