Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is "Hello world" tutorial of a UCW portal add-on. Throughout the tutorial, you will learn how to create a portal application, understand the basic structure of an add-on (plugin), learn how to add links to the main navigation menu of UCW Portal using section and section items and create a simple controller. See source code.

Requirements 
Anchor
Requirements
Requirements

...

  1. Make sure you have downloaded all the requirements.
  2. Open a terminal/console and navigate to your working directory.
  3. Download the sources using the following command:

    Code Block
    linenumberstrue
    git clone https://gitlabgithub.unitycloudware.com/ucwunitycloudware/tutorial/ucw-portal-helloworld.git ucw-portal-helloworld


  4. Move into newly create a folder

    Code Block
    languagebash
    cd ucw-portal-helloworld


  5. Checkout to a starting point of the tutorial

    Code Block
    languagebash
    git checkout start


    Info
    titleNote

    In the tutorial, you will be working in "start" branch. However, at any moment of the tutorial, you can checkout into "master" branch to see correct solution.


  6. Test downloaded files by building and running the sources using following commands

    Code Block
    languagebash
    themeConfluence
    titleUnix / Linux based OS
    linenumberstrue
    ./build.sh
    ./run-portal.sh

    or

    Code Block
    languagebash
    titleWindows
    linenumberstrue
    build.bat
    run-portal.bat


  7. The application should be up and running on http://localhost:9570. After clicking the link, you should see a login page.

  8. Log into the application using default credentials (User: admin, Password: admin) and admin page should be displayed.

...