A fork of LibrePlan for users of this space.
Find a file
2009-04-27 20:21:32 +02:00
navalplanner-business Initial commit 2009-04-23 11:07:44 +02:00
navalplanner-gantt-zk ItEr05S03ArquitecturaClientesItEr04S03: Start-End dependencies added. 2009-04-27 16:07:18 +02:00
navalplanner-webapp Initial commit 2009-04-23 11:07:44 +02:00
src/main Initial commit 2009-04-23 11:07:44 +02:00
.gitignore Ignoring some files: eclipse configuration files, target directory, emacs backup files 2009-04-27 20:21:32 +02:00
pom.xml maven-filtering-bug Maven filtering bug 2009-04-27 12:45:37 +02:00
README.txt Initial commit 2009-04-23 11:07:44 +02:00

* DB creation
  -----------

  + Start MySQL:
    - Unix: mysqld --default-table-type=InnoDB
    - Windows: mysqld-nt --default-table-type=InnoDB(Windows).

  + Create DB "navaldev" (for development):
    - mysqladmin -u root create navaldev

  + Create user "naval" with password "naval":
    - mysql -u root
      GRANT ALL PRIVILEGES ON navaldev.* to naval@localhost IDENTIFIED BY 'naval';
      
  + Create another DB with name "navaldevtest" (for testing). The user created
    above will need to access this new DB.
    
    - mysqladmin -u root create navaldevtest
    - mysql -u root
      GRANT ALL PRIVILEGES ON navaldevtest.* to naval@localhost IDENTIFIED BY 'naval';

  + PostgreSQL -> DB name=navaldev, user=naval, password=naval.

* 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 navalplanner

  + 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

  + NOTE: For PostgreSQL: mvn -Pdev,postgresql 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 "mysql" (meaning "use MySQL assuming a development
  environment").