#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
#
# first author: Nicolas SALATGE
#

===========================================================================
URL    : http://research-gi.mines-albi.fr
File   : README.txt
===========================================================================

Located Below:
--------------
 - Run program under Linux
 - Run program under Windows
 
 Python:
 ------------
 - For some usecases need python, embedded for windows, for linux install python.
 - If not use Python you can disable in the conf/unified_config.properties
 
 Automatically load a usecase on startup:
 ---------------
 Edit/Add in conf/unified_config.properties
 example: load-predefined-usecases = [ { "knowledgeSpaceName" : "Synchronized terrorist attack Albi", "collaborationName" : "Egcersis3" } ]
 
 For the usecase RealWorld you can set MONGO_ADMIN_TOOLS.
 Download https://www.mongodb.com/try/download/database-tools and set  MONGO_ADMIN_TOOLS = path_mongodb-database-tools
Edit/Add in conf/unified_config.properties 
load-predefined-usecases = [ { "knowledgeSpaceName" : "RealWorld", "collaborationName" : "World", "activateTweetsListener" : false }]
 
  
 
 Localhost distribution (not network)
 - Config host under Linux and Run program localdistrib under Linux
 - Config host under Windows and Run program localdistrib under Windows
 
 List ports used

###############################################################################
# Linux - Run program -                                         #
###############################################################################

Check if the lib "libfontconfig1" and "librsvg2-2" are installed in your system
$ cd bin/
$ ./startup.sh


###############################################################################
# Windows - Run program -    				                       			  #
###############################################################################

$ You go to the folder bin/
$ Double click on  startup.bat


###############################################################################
# Config host under Linux and Run program localdistrib under Linux - Run program -                                         #
###############################################################################

1°)Check if the lib "libfontconfig1" is installed in your system
2°)Edit /etc/hosts
3°) Add line:
127.0.0.1 riosuite
4°)cd bin/
5°)./startup-local-distrib.sh



###############################################################################
# Config host under Windows and Run program localdistrib under Windows - Run program -    				                       			  #
###############################################################################

1°)Edit file C:\Windows\System32\drivers\etc\hosts
2°)Add line:
127.0.0.1 riosuite
3°)You go to the folder bin/
4°)Double click on  startup-local-distrib.bat

################################################################################
################################################################################
DEFAULT USER
################################################################################
################################################################################
LOGIN: gind
PASSWORD: admin


if you wish to deactivate the user role "admin" on the RIO-Suite application, just change the conf/generated/r-ioga/config.properties
defaultAdmin = False


###############################################################################
# List ports used -                                         #
###############################################################################
*range ports:8086-8087
range ports: 9100-9127
range ports: 10100-10112
range ports: 12000-12005
port: 27017



#################################
# - ENV MEDIA -
RIO_MEDIA_LOGIN=
RIO_MEDIA_PWD=
#################################

#################################
# - ENV Twitter -

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_TOKEN=
TWITTER_TOKEN_SECRET=
#################################


