Versions Compared

Key

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

...

  1. Download source code from Subversion to your Sakai source directory (will create a sitestats_1-0 folderbe sure to pick the most recent tag/branch - see main page):
    svn co https://source.sakaiproject.org/contrib//ufp/sitestats/tags/a_sitestats_1-0tag/ sitestats
  2. Change your current directory to the recently downloaded {sitestats_src}/ folder
    cd sitestats-pre_1-0
  3. Edit pom.xml file and change the version tag to reflect sakai version
  4. Run Maven to compile SiteStats (replace {tomcat_folder} with the path to your tomcat folder):
    • For sakai <= 2.4.x, use Maven 1:
      • maven -Dmaven.tomcat.home={tomcat_folder} sakai
    • For sakai >= 2.5 or trunk, use Maven 2:
      • mvn -Dmaven.tomcat.home={tomcat_folder} clean install sakai:deploy
  5. Make sure there are no multiple versions of sitestats jars in {tomcat_folder/shared/lib} (named sakai-sitestats-*.jar)

2.1. External database

For using an external database with SiteStats (recommended), the database must be previously created before starting sakai.

...