summaryrefslogtreecommitdiffstats
path: root/docs/tutorials/portal-BE/setting-up.rst
blob: 22d7f47be924c596883955d16a6373698cf85f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Setting up
==========
 
Dependencies
------------

In order to build Portal BE applications on your machine, you'll need to install the following:

1. OpenJDK 8
2. Maven
3. Docker
4. Docker Compose

Cloning the Portal repository
---------------------------------

Clone the Portal repository with git:

::

    git clone "https://gerrit.onap.org/r/portal"

Building
-----------------

::

    cd portal-BE/
    If you get this error "unable to prepare context: path ".\r" not found" please use this command dos2unix build.sh
    ./build.sh

Viewing your app
----------------


::

    http://localhost:8080/login

To log in, use user/password 'demo/demo123'.

.. _access the h2-console: http://localhost:8080/h2-console/

Change:
Saved Settings: Generic MySQL
Driver Class: com.mysql.cj.jdbc.Driver
JDBC URL: jdbc:mysql://portal-db:3306/testdb
User Name: portal
Password: Test123456