X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Ftutorials%2Fportal-BE%2Fsetting-up.rst;fp=docs%2Ftutorials%2Fportal-BE%2Fsetting-up.rst;h=a2155c39faa24799f898d76d9dcca800b8837ad1;hb=6471284af891d330a49db0d00e2456f757a53ba4;hp=0000000000000000000000000000000000000000;hpb=f51a049146c96181b43ca3f72c1cf715f07d24a9;p=portal.git 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