...
- 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
- Change your current directory to the recently downloaded {
sitestats_src}/
folder
cd sitestats-pre_1-0
- Edit pom.xml file and change the version tag to reflect sakai version
- 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
- For sakai <= 2.4.x, use Maven 1:
- 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.
...