# XIA

This tool is used to generate pedagogical html5 resources.
Thanks to it, you can generate three kinds of resources :
- first ones : Images actives. It is simple images on which we can make a focus on some details by zooming and adding descriptions.
- second ones : games using what we call the "1 click with scoring".
- third ones : games using what we call the "drag and drop with scoring" and "drag and drop without scoring" 

# Build application in Debian Jessie

```sh
apt-get install -y libjavascript-minifier-perl gettext python
cd project
python setup.py buildstandalone
```




# obsolete - keep it just for a while

First, install nodejs :

    apt-get install nodejs nodejs-legacy npm

nodejs-legacy is used to be able to call nodejs just with "node".
Finally, install grunt and lodash (used in this project):

    npm install -g grunt-cli
    npm install lodash
    npm install -g bower

App pre-install (launch just once):

    cd project
    npm install
    bower install

App install : (must be used each time we want a new release)

    cd project
    grunt full

Application is then built in project/build

# How to deploy on gitlab-ci
[Doc](https://gitlab.crdp.ac-versailles.fr/pascal.fautrero/scripts/blob/master/gitlab-ci/xia/README.MD)