| ... | @@ -2,6 +2,7 @@ |
... | @@ -2,6 +2,7 @@ |
|
|
title: To setup the development environment
|
|
title: To setup the development environment
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
## Steps to install and configure the development environment under the Linux (Ubuntu) distribution
|
|
## Steps to install and configure the development environment under the Linux (Ubuntu) distribution
|
|
|
|
|
|
|
|
### Java: OpenJDK 17
|
|
### Java: OpenJDK 17
|
| ... | @@ -61,7 +62,7 @@ title: To setup the development environment |
... | @@ -61,7 +62,7 @@ title: To setup the development environment |
|
|
- Create new user in Login/Group Roles and assign assign required permissions (//Example: Name: regapp-dev and set Privileges: Can login? Yes)
|
|
- Create new user in Login/Group Roles and assign assign required permissions (//Example: Name: regapp-dev and set Privileges: Can login? Yes)
|
|
|
|
|
|
|
|
#### Inject the existing “regApp” DB to the Postgresql:
|
|
#### Inject the existing “regApp” DB to the Postgresql:
|
|
|
- Download the `regapp_dev.sql` file from [bws&s](https://bwsyncandshare.kit.edu/s/Ma62SwGfB37TyGL)
|
|
- Download the `regapp_dev.sql` file from [bws&s](https://bwsyncandshare.kit.edu/apps/files/files/4223252485?dir=/regApp_setup)
|
|
|
```
|
|
```
|
|
|
$ psql --username=<db_user_name> databasename < data_base_dump.sql
|
|
$ psql --username=<db_user_name> databasename < data_base_dump.sql
|
|
|
```
|
|
```
|
| ... | @@ -104,7 +105,7 @@ Add the line `127.0.0.1 bwidm-test.scc.kit.edu` to the `/etc/hosts` file |
... | @@ -104,7 +105,7 @@ Add the line `127.0.0.1 bwidm-test.scc.kit.edu` to the `/etc/hosts` file |
|
|
- Eclipse (recommended version is [4.29.0](https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2023-09/R/eclipse-jee-2023-09-R-linux-gtk-x86_64.tar.gz))
|
|
- Eclipse (recommended version is [4.29.0](https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2023-09/R/eclipse-jee-2023-09-R-linux-gtk-x86_64.tar.gz))
|
|
|
|
|
|
|
|
### Wildfly on Eclipse:
|
|
### Wildfly on Eclipse:
|
|
|
- Download the `wildfly-29.0.1.Final.tar.gz` file from [bws&s](https://bwsyncandshare.kit.edu/s/Ma62SwGfB37TyGL)
|
|
- Download the `wildfly-29.0.1.Final.tar.gz` file from [bws&s](https://bwsyncandshare.kit.edu/apps/files/files/4223252485?dir=/regApp_setup)
|
|
|
- Open Eclipse
|
|
- Open Eclipse
|
|
|
- `Help` → `Eclipse Marketplace` → `JBoss Tools` → `Install` → Follow the steps → `Restart Eclipse`
|
|
- `Help` → `Eclipse Marketplace` → `JBoss Tools` → `Install` → Follow the steps → `Restart Eclipse`
|
|
|
- `Window` → `Show View` → `Other` → `Servers (Server)` → `Open`
|
|
- `Window` → `Show View` → `Other` → `Servers (Server)` → `Open`
|
| ... | @@ -121,12 +122,12 @@ The first “Start” will fail as the DB info need to be changed in the `standa |
... | @@ -121,12 +122,12 @@ The first “Start” will fail as the DB info need to be changed in the `standa |
|
|
<xa-datasource jndi-name="java:/ds/bwidmDS" pool-name="bwidmDS" enabled="true" use-ccm="true">
|
|
<xa-datasource jndi-name="java:/ds/bwidmDS" pool-name="bwidmDS" enabled="true" use-ccm="true">
|
|
|
...
|
|
...
|
|
|
<xa-datasource-property name="DatabaseName">
|
|
<xa-datasource-property name="DatabaseName">
|
|
|
_regAppDev_
|
|
regAppDev
|
|
|
</xa-datasource-property>
|
|
</xa-datasource-property>
|
|
|
...
|
|
...
|
|
|
<security>
|
|
<security>
|
|
|
<user-name>_regapp-dev_</user-name>
|
|
<user-name>regapp-dev</user-name>
|
|
|
<password>_123_</password>
|
|
<password>123456</password>
|
|
|
</security>
|
|
</security>
|
|
|
...
|
|
...
|
|
|
```
|
|
```
|
| ... | |
... | |
| ... | | ... | |