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