----------------------------------------
---    EXECUTE KURENTO REPOSITORY    ---
----------------------------------------

- Build

   cd kurento-repository
   mvn clean install

- Unzip distribution files

   cd kurento-repository-server/target
   unzip kurento-repository-server-x.y.z.zip
   
- Execute start script

   cd kurento-repository-server-x.y.z
   ./bin/start.sh

- Configure logging

   vim kurento-repository-server-x.y.z/config/kurento-repo-log4j.properties

  << Log file by default will be located in 
     kurento-repository-server-x.y.z/logs/ >>

- Configure server

   vim kurento-repository-server-x.y.z/config/kurento-repo.conf.json

---------------------------------------------------------
--- START KURENTO-REPO AS DAEMON (kurento-repo) ---------
--- IN UBUNTU OR CENTOS ---------------------------------
---------------------------------------------------------

- Build

   cd kurento-repository
   mvn clean install

- Unzip distribution files

   cd kurento-repository-server/target
   unzip kurento-repository-server-x.y.z.zip
   
- Execute install script

   cd kurento-repository-server-x.y.z
   sudo ./bin/install.sh

  << The service (kurento-repo) will be automatically started. >>
  
- Control the service (Ubuntu)

   sudo service kurento-repo {start|stop|status|restart|reload}
  
- Configure logging

   sudo vim /etc/kurento/kurento-repo-log4j.properties

  << Log file by default will be located in 
     /var/log/kurento/ >>

- Configure server

   sudo vim /etc/kurento/kurento-repo.conf.json