Walkthrough: Install Imcms based client application


First of all you need install iVIS server. Visit this page for details. When you have working iVIS server we can continue, but to make it possible to communicate with the iVIS Server from the client application you need to register your client application inside the iVIS Server. Here is the walkthrough that describes this process.

This client is based on imCMS.

Git configuration

Clone project from GitHub repository:

cd /../directory #Directory where project folder with content must be placed

git clone https://github.com/imCodePartnerAB/iVIS-imCMS-Client-Sample.git

After cloning will created subdirectory iVIS with content.

Database configuration

In the Terminal (Ctrl+ALt+T) execute following commands to create the database:

mysql -u {username} -p{password} #{username} - database username, {password} - database password

CREATE DATABASE db_ivis_info;

Download file dump_db_ivis_info.sql from release on Github.

In the Terminal (Ctrl+ALt+T) execute following command to run dump file on created DB:

mysql -u {username} -p{password} db_ivis_info < /home/downloads/dump_db_ivis_info.sql #file location after downloading

Edit file local.server.properties from project directory in the next way:

[1]username of database (default root)
[2]password of database
[3]consist of jdbc:{provider}://{hostname}:{port}/{databaseName}?{encoding} for mysql {provider} = mysql, {hostname} = localhost, {port} = 3306, {encoding} = utf-8

Run application


iVIS Server must be installed from this guide.

In the Terminal (Ctrl+ALt+T) execute following commands:

cd /../iVIS-imCMS-Client-Sample #path to project from Github

mvn tomcat7:deploy #deploy configured to localhost:8080/imcmscl.

Type http://localhost:8080/imcmscl in browser.

Input Login=admin and Password=pass.

If you see this image, everything is good, congratulations!