a2155c39faa24799f898d76d9dcca800b8837ad1
[portal.git] / docs / tutorials / portal-BE / setting-up.rst
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
21     git clone "https://gerrit.onap.org/r/portal"
22
23 Building
24 -----------------
25
26 ::
27
28     cd portal-BE/
29     ./build.sh
30
31 Viewing your app
32 ----------------
33
34
35 ::
36
37     http://localhost:8080/login
38
39 To log in, use user/password 'demo/demo123'.
40
41 .. _access the h2-console: http://localhost:8080/h2-console/
42
43 Change:
44 Saved Settings: Generic MySQL
45 Driver Class: com.mysql.cj.jdbc.Driver
46 JDBC URL: jdbc:mysql://portal-db:3306/testdb
47 User Name: portal
48 Password: Test123456