Skip to content
Dávid Lupták edited this page Nov 9, 2021 · 4 revisions

Welcome to the MathMLCanEval wiki!

How to build the project

The project is build as Maven project from the root directory:

mvn clean install

Frontend:

cd mathmlcaneval-frontend/
mvn tomcat7:run

Alternatively, you can try the following:

  1. Download Apache Tomcat
  2. Install Apache Tomcat (follow instructions in the downloaded archive), typically (it may differ based on your platform)
    1. Unpack the downloaded archive to a desired location (e.g. /opt)
    2. Make all scripts in Tomcat’s ./bin directory executable
    sudo chmod +x ./bin/*.sh
    
  3. Start Tomcat
./bin/startup.sh
  1. Open web browser at http://localhost:8080/ to check if it's running

  2. Copy the built mathmlcaneval-frontend-*.war file from mathmlcaneval-frontend/target/ directory to Tomcat's ./webapps/ directory (and the war archive will be automatically unpacked and the application deployed)

  3. Open web browser at http://localhost:8080/application-name (where application-name is the filename of the war or context path specified in pom.xml?)

NB: it's also worth to configure user credentials in Tomcat's ./conf/tomcat-users.xml

Clone this wiki locally