Pré requis projet - TpFilRougeCens/prj-cens GitHub Wiki

Configuration Projet CENS

Pre-requis :

  • JAVA SDK 1.8_73 (for IDE INTELLIJ (check : "Help"->"About") and environnement system (JAVA_HOME) )
  • Install git

Configuration projet

  1. Clone git Reposity
  2. Open project
  3. CTRL+ALT+S -> "Project" -> "Project SDK" = "1.8_73"

La flemme de continuer pour le moment...

Configuration serveur

  1. Download Wildfly V10.0.0 : http://download.jboss.org/wildfly/10.0.0.Final/wildfly-10.0.0.Final.zip
  2. Unzip
  3. openIntelliJ V64bits : "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.3\bin\idea64.exe"
  4. On intelliJ : "Run/Debug Configuration" -> "Add" -> "Jboss server" -> "Local" -> Add server /!\ JDK : 1.8_73
  5. Add Artifact : "Fix" -> "Add" -> "From module" -> "Web Develeopeement exploted" -> Select our module and rename it -> "OK"
  6. Start server (Warning Nvidia use port 9990 too)
  7. access : http://127.0.0.1:9990/console
  8. Add user admin on WildFly (see manager/console doc.)
  9. Menu "Deployement" -> "Add" -> "Upload a new deployment" --> Upload JDBC driver.jar (voir dossier "lib")
  10. Menu "Configuration" -> "SubSystems" -> "Datasource" -> "Non-XA" -> "Add" -> PostgreSQL Datasource -> Name : cens JNDI : java:/cens -> "Dected Driver" -> postgresql -> Connection url : jdbc:postgresql://127.0.0.1:5432/cens username : postgres Password : P@ssword Security domain : "" -> "Test Connection" -> "Finish"