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
- Clone git Reposity
- Open project
- CTRL+ALT+S -> "Project" -> "Project SDK" = "1.8_73"
La flemme de continuer pour le moment...
Configuration serveur
- Download Wildfly V10.0.0 : http://download.jboss.org/wildfly/10.0.0.Final/wildfly-10.0.0.Final.zip
- Unzip
- openIntelliJ V64bits : "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.3\bin\idea64.exe"
- On intelliJ : "Run/Debug Configuration" -> "Add" -> "Jboss server" -> "Local" -> Add server /!\ JDK : 1.8_73
- Add Artifact : "Fix" -> "Add" -> "From module" -> "Web Develeopeement exploted" -> Select our module and rename it -> "OK"
- Start server (Warning Nvidia use port 9990 too)
- access : http://127.0.0.1:9990/console
- Add user admin on WildFly (see manager/console doc.)
- Menu "Deployement" -> "Add" -> "Upload a new deployment" --> Upload JDBC driver.jar (voir dossier "lib")
- 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"