How to install Agilefant – windows

So where are the things you need
Download these software

  • JDK (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
  • WAMP(only for SQL)
  • Tomcat (http://apache.mirrors.spacedump.net/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18.zip)
  • Agilefant (http://sourceforge.net/projects/agilefant/)

JDK
Install it and set environment variables – this can be different on different computers so check the path
JAVA_HOME C:\Program Files (x86)\Java\jdk1.8.0_31\bin
JRE_HOME C:\Program Files (x86)\Java\jre7

Wamp
download wamp server (that is just to get the sql its quite easy) install it and to run it dont run skype or IIS
Start the server and run SQL console click enter for no password after that run these commands

create database agilefant;
               rant all on agilefant.* to agilefant@localhost identified by '123456';
               exit;

 

Agilefant

unzip it and open the war file with win rar and under the WEB-INF folder open agilefant.conf
username = “agilefant”
password = “123456”
url = “jdbc:mysql://localhost/agilefant?relaxAutoCommit=true&;autoReconnect=true&;useUnicode=true&;characterEncoding=utf-8&;autoReconnectForPools=true”
and hit save

Tomcat

Unzip it and open the tomcat-user file.xml under apache-tomcat-8.0.18\conf path
now replace this

<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
-->

with this

<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="manager-gui,manager-jmx,manager-script,manager-status"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>

 

 

Open the bin folder and run the startup.bat file

Open this link in the browser localhost:8080

Click manager app

Enter username tomcat pass tomcat

In the deploy section open the war file and click deploy and its done

Access it using http://localhost:8080/agilefant

Login pass is admin and secret