Skip to content

Instantly share code, notes, and snippets.

@timlevett
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timlevett/a458c6c0f4b1863f7cb9 to your computer and use it in GitHub Desktop.
Save timlevett/a458c6c0f4b1863f7cb9 to your computer and use it in GitHub Desktop.
Prep work for Open Apereo 2015 Seminar

uPortal setup

We recently added some features to uPortal on master to make adding/removing apps using angularjs-portal work. Therefore to get a full experience we suggest using the latest jasig/master version of uPortal for this seminar. It may still work with your local fork, just not all the features will work. Alternatively you could cherry-pick the changes over from master.

angularjs-portal setup

This is the basic clone and verify it builds.

git clone git@github.com:UW-Madison-DoIT/angularjs-portal.git
cd angularjs-portal
mvn package

Get it up and running

  • Startup uPortal
  • Setup autodeploy : doc
  • cd to angularjs-portal root directory
  • Unix based systems, run : ./build.sh master
  • Windows based systems, run :
copy angularjs-portal-home/src/main/webapp/js/app-config.js angularjs-portal-home/src/main/webapp/js/app-config.js.bak
copy angularjs-portal-home/src/main/webapp/js/master-app-config.js angularjs-portal-home/src/main/webapp/js/app-config.js

mvn package

cd angularjs-portal-home
mvn tomcat7:deploy  #or redeploy depending if this is a consecutive run

Verify build was a success

  • Navigate to localhost:8080/uPortal
  • Login as student
  • Navigate to localhost:8080/web

Alternative Approach

If you have issues setting it up, no worries, we are here to help. Shoot us an email or IM is with your specific problem. Nothing to big to stress over, if we can't get it up and running we can just use the jetty:run approach and run a mock-portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment