Skip to content

PTAnywhere/usage-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PT Anywhere usage analysis

Chart to help to analyse student's typical widget usage.

Build application

As this project uses Maven, you can compile and deploy it using the following command:

mvn clean exec:exec

By default, the app will be deployed in the development server. Use any of the following commands to deploy it in other environments:

mvn clean exec:exec -Denv=devel  # Development environment (explicitly stated)
mvn clean exec:exec -Denv=test  # Testing environment
mvn clean exec:exec -Denv=prod  # Production environment

Additionally, you can also define your own environment in a property file. The easiest way to do this is by using an existing property file as a template (e.g., the development environment one). If you choose this approach, use the following command:

mvn exec:exec -Denv=custom -DpropFile=[PATH-TO-YOUR-PROPERTY-FILE]

Please, note that you need to configure your web server before using the tomcat deployment command shown above.