====== QAP10 installation ======
QAP10 installation is fast as light !
====== Requirement ======
A server with
* servlet container like **[[http://tomcat.apache.org|Apache Tomcat]]**. Thus a **Java JRE or JDK** is needed
* database [[https://mariadb.org|MariaDB]], with its jdbc connector.
* a modern internet browser. If Windows Internet Explorer is chosen, let's use version 9+
^ Component ^ Version currently validated ^
| Apache Tomcat | 8.X |
| Java | 1.8.X |
| MariaDB | 10.0.X (should be still compatible with mySQL 5.6) |
in this document, installation is made under Ubuntu linux
====== Setup ======
===== Contexts =====
[[http://depot.qap10.com/latest/|Download]] the different contexts
* qap10.war
Copy these war files in [HOME_TOMCAT]/webapps
===== Database =====
Download the sql command file to create database and run the following commands.
// create database
>mysql -u[my_login] -p[my_password] -e "create database qap10";
// fill database
>sudo mysql -u[my_login] -p[my_password] qap10 < qap10.sql
Edit [HOME_TOMCAT]/webapps/qap10/WEB-INF/classes/hibernate.xml and adjust it with your server setup.
jdbc:mysql://localhost/qap10
my_login
my_password
We used to copy the jdbc jar file into Tomcat lib ([HOME_TOMCAT]/lib . Once it is done, **Tomcat has to be restarted**.
===== Verification =====
Open your browser and, assuming you installed QAP10 on your personal computer, enter the following url http://localhost:8080/qap10 , which should display the qap10 login screen. And voilĂ !
{{ ::qap10-login.jpg?500 |}}
QAP10 starts with an 'administrator' account (login=admin, password=admin)