Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change to correct version

Building and Deploying Instructions for:

...

Code Block
languagenone
wget http://downloads.jasig.org/uportal/uPortal-4.12.x/uPortal-4.12.x.tar.gz
  • After you have downloaded uPortal, unpack the uPortal source outside the Tomcat container (i.e., /usr/local/src or any directory outside tomcat)
Code Block
tar -xvf uPortal-4.12.x.tar.gz

 

Now, we can configure your uPortal for deployment

Step 1: Configure the build.properties file

 The uPortal build requires a build.properties file describing the deployment environment to be available in the root of the uPortal project.

     1. Go to your uPortal source directory and create the build.properties file by copying the build.properties.sample file to build.properties

...

  • In the filters folder, locate the default local.properties file and configure the Database Connection Settings, uPortal Server Configuration Properties,  CAS Server Configuration, Logging information, and LDAP settings. Replace localhost:8080 with your server name.

uPortal provides an optional mechanism to override these settings with a file that is completely outside uPortal source. This approach allows systems administrators to change these settings without rebuilding.  It also provides an easy way for adopters to keep sensitive information outside of their Source Code Management system (See Properties Files and Properties Overrides).

...

Code Block
tar -xvf uPortal-4.12-quick-start.tar.gz

Step 2: Set up JAVA_HOME

...

Start uPortal by running the ant command from inside the uPortal-4.12-quick-start directory

Code Block
# Linux
# Temporary due to https://issues.jasig.org/browse/UP-4454:
export M2_HOME=<pathToYourQuickstartLocation>/apache-maven-3.0.5
export PATH=$PATH:$M2_HOME/bin 
./ant.sh start

 
# Windows
ant start

...