-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instruction for creating iVIS client. Fixed structure
- Loading branch information
1 parent
b563618
commit 1cfc995
Showing
8 changed files
with
2,445 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
docs/quick_start/walkthrough_create_ivis_server_client_application.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,73 @@ | ||
Walkthrough: Create iVIS Server Client Application | ||
================================================== | ||
|
||
Prerequisites | ||
_____________ | ||
|
||
This client based on imCMS. | ||
|
||
First of all you need install iVIS server. | ||
|
||
For details visit this `page </en/latest/quick_start/walkthrough_install_ivis_server.html/>`_ . | ||
|
||
If you run iVIS server, than can continue, otherwise you can't move on. | ||
|
||
Database configuration | ||
---------------------- | ||
|
||
In Terminal(Ctrl+ALt+T) input following commands for create database | ||
|
||
.. code-block:: bash | ||
mysql -u {username} -p{password} #{username} - database username, {password} - database password | ||
CREATE DATABASE db_ivis_info; | ||
Download file :download:`dump_db_ivis_info.sql <../files/dump_db_ivis_info.sql>` | ||
|
||
In Terminal(Ctrl+ALt+T) input following command for run dump file on database | ||
|
||
.. code-block:: bash | ||
mysql -u {username} -p{password} db_ivis_info < /home/downloads/dump_db_ivis_info.sql #set where is file located | ||
Run application | ||
--------------- | ||
|
||
Go to project folder (/home/../iVIS/ivis-client/target). | ||
|
||
Find there file ivis-client.war, rename to client.war. | ||
|
||
Copy file to directory where you download Tomcat (/home/../apache-tomcat-{version}/webapps). | ||
|
||
Run Tomcat by input following command in Terminal. | ||
|
||
.. code-block:: bash | ||
cd /home/../apache-tomcat-{version}/bin | ||
chmod +x startup.sh | ||
./startup.sh | ||
Open in your browser http://localhost:8080/client . | ||
|
||
Login: admin | ||
Password: password | ||
|
||
If you see this image, everything is good, congratulations! | ||
|
||
.. image:: /images/ivisClientStartPage.png | ||
|
||
Shutdown Tomcat by input following command in Terminal. | ||
|
||
.. code-block:: bash | ||
cd /home/../apache-tomcat-{version}/bin | ||
chmod +x shutdown.sh | ||
./shutdown.sh | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters