WidgetsCatalogMarkupController up
[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     If you get this error "unable to prepare context: path ".\r" not found" please use this command dos2unix build.sh
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