summaryrefslogtreecommitdiffstats
path: root/docs/tutorials
diff options
context:
space:
mode:
authorDominik Mizyn <d.mizyn@samsung.com>2019-09-03 15:19:52 +0200
committerDominik Mizyn <d.mizyn@samsung.com>2019-09-10 12:45:15 +0200
commit6471284af891d330a49db0d00e2456f757a53ba4 (patch)
tree9dabf4eaee474525c94c1033fd7bc89598050b60 /docs/tutorials
parentf51a049146c96181b43ca3f72c1cf715f07d24a9 (diff)
portal-BE documentation up
Documentation up Issue-ID: PORTAL-710 Change-Id: I87e78123b5bc4133d5699c1e32af9e8a5b70c535 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> portal-BE documentation up Documentation up Issue-ID: PORTAL-710 Change-Id: I87e78123b5bc4133d5699c1e32af9e8a5b70c535 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> portal-BE documentation up Documentation up Issue-ID: PORTAL-710 Change-Id: I87e78123b5bc4133d5699c1e32af9e8a5b70c535 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/index.rst1
-rw-r--r--docs/tutorials/portal-BE/index.rst14
-rw-r--r--docs/tutorials/portal-BE/setting-up.rst48
3 files changed, 63 insertions, 0 deletions
diff --git a/docs/tutorials/index.rst b/docs/tutorials/index.rst
index 5af68007..ed3cd777 100644
--- a/docs/tutorials/index.rst
+++ b/docs/tutorials/index.rst
@@ -7,5 +7,6 @@ Portal: Tutorials
:maxdepth: 2
portal-sdk/index
+ portal-BE/index
diff --git a/docs/tutorials/portal-BE/index.rst b/docs/tutorials/portal-BE/index.rst
new file mode 100644
index 00000000..9ab7c1aa
--- /dev/null
+++ b/docs/tutorials/portal-BE/index.rst
@@ -0,0 +1,14 @@
+.. Building ONAP Portal SDK Web Applications documentation master file, created by
+ sphinx-quickstart on Mon Aug 7 12:47:34 2017.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+Building ONAP Portal BE Applications
+=========================================
+
+.. toctree::
+ :maxdepth: 6
+ :caption: Contents:
+
+ setting-up
+
diff --git a/docs/tutorials/portal-BE/setting-up.rst b/docs/tutorials/portal-BE/setting-up.rst
new file mode 100644
index 00000000..a2155c39
--- /dev/null
+++ b/docs/tutorials/portal-BE/setting-up.rst
@@ -0,0 +1,48 @@
+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/
+ ./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 \ No newline at end of file