ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Moved README.txt file to INSTALL file. Added some new typical files, that will be filled in the future.
This commit is contained in:
parent
c10f4268dd
commit
060fdc76d0
7 changed files with 99 additions and 70 deletions
11
AUTHORS
Normal file
11
AUTHORS
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
Authors
|
||||||
|
=======
|
||||||
|
|
||||||
|
* Fernando Bellas Permuy <fbellas@udc.es>
|
||||||
|
* José María Casanova Crespo <jmcasanova@igalia.com>
|
||||||
|
* Xavier Castaño García <xcastanho@igalia.com>
|
||||||
|
* Óscar González Fernández <ogonzalez@igalia.com>
|
||||||
|
* Francisco Javier Morán Rúa <jmoran@igalia.com>
|
||||||
|
* Diego Pino García <dpino@igalia.com>
|
||||||
|
* Manuel Rego Casasnovas <mrego@igalia.com>
|
||||||
|
* Lorenzo Tilve Álvaro <ltilve@igalia.com>
|
||||||
0
COPYING
Normal file
0
COPYING
Normal file
88
INSTALL
Normal file
88
INSTALL
Normal file
|
|
@ -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=<<spring-framework-2.5.6>>/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 <<goal|fase>>``::
|
||||||
|
|
||||||
|
e.g. mvn -Pdev,mysql install
|
||||||
|
|
||||||
|
+ HSQLDB:
|
||||||
|
|
||||||
|
- Use ``mvn -Pdev,hsqldb <<goal|fase>>``::
|
||||||
|
|
||||||
|
e.g. mvn -Pdev,hsqldb install
|
||||||
|
|
||||||
|
|
||||||
|
Profiles
|
||||||
|
--------
|
||||||
|
|
||||||
|
Check ``<profiles>`` 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").
|
||||||
0
NEWS
Normal file
0
NEWS
Normal file
0
README
Normal file
0
README
Normal file
70
README.txt
70
README.txt
|
|
@ -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=<<spring-framework-2.5.6>>/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 <<goal|fase>>"
|
|
||||||
e.g. mvn -Pdev,mysql install
|
|
||||||
|
|
||||||
- HSQLDB:
|
|
||||||
|
|
||||||
* Use "mvn -Pdev,hsqldb <<goal|fase>>"
|
|
||||||
e.g. mvn -Pdev,hsqldb install
|
|
||||||
|
|
||||||
* Profiles
|
|
||||||
--------
|
|
||||||
|
|
||||||
Check <profiles> 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").
|
|
||||||
0
TODO
Normal file
0
TODO
Normal file
Loading…
Add table
Reference in a new issue