Dominik Mizyn | 6471284 | 2019-09-03 15:19:52 +0200 | [diff] [blame] | 1 | Setting up |
| 2 | ========== |
| 3 | |
| 4 | Dependencies |
| 5 | ------------ |
| 6 | |
| 7 | In order to build Portal BE applications on your machine, you'll need to install the following: |
| 8 | |
| 9 | 1. OpenJDK 8 |
| 10 | 2. Maven |
| 11 | 3. Docker |
| 12 | 4. Docker Compose |
| 13 | |
| 14 | Cloning the Portal repository |
| 15 | --------------------------------- |
| 16 | |
| 17 | Clone the Portal repository with git: |
| 18 | |
| 19 | :: |
| 20 | |
Pratik Raj | aeca0e4 | 2020-05-28 11:06:35 +0530 | [diff] [blame^] | 21 | git clone --depth 1 "https://gerrit.onap.org/r/portal" |
Dominik Mizyn | 6471284 | 2019-09-03 15:19:52 +0200 | [diff] [blame] | 22 | |
| 23 | Building |
| 24 | ----------------- |
| 25 | |
| 26 | :: |
| 27 | |
| 28 | cd portal-BE/ |
Dominik Mizyn | 9e4e70f | 2019-09-10 13:11:09 +0200 | [diff] [blame] | 29 | If you get this error "unable to prepare context: path ".\r" not found" please use this command dos2unix build.sh |
Dominik Mizyn | 6471284 | 2019-09-03 15:19:52 +0200 | [diff] [blame] | 30 | ./build.sh |
| 31 | |
| 32 | Viewing your app |
| 33 | ---------------- |
| 34 | |
| 35 | |
| 36 | :: |
| 37 | |
| 38 | http://localhost:8080/login |
| 39 | |
| 40 | To log in, use user/password 'demo/demo123'. |
| 41 | |
| 42 | .. _access the h2-console: http://localhost:8080/h2-console/ |
| 43 | |
| 44 | Change: |
| 45 | Saved Settings: Generic MySQL |
| 46 | Driver Class: com.mysql.cj.jdbc.Driver |
| 47 | JDBC URL: jdbc:mysql://portal-db:3306/testdb |
| 48 | User Name: portal |
| 49 | Password: Test123456 |