Skip to content

Commit

Permalink
Add instruction for creating iVIS client. Fixed structure
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanPopenko committed Aug 10, 2016
1 parent b563618 commit 1cfc995
Show file tree
Hide file tree
Showing 8 changed files with 2,445 additions and 23 deletions.
Binary file added docs/files/apache-tomcat-8.5.4.tar.gz
Binary file not shown.
2,364 changes: 2,364 additions & 0 deletions docs/files/dump_db_ivis_info.sql

Large diffs are not rendered by default.

Binary file added docs/images/ivisClientStartPage.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Contents
:titlesonly:

overview/index
basic_concepts/index
quick_start/index
basic_concepts/index
api/index
use_cases/index

Expand Down
22 changes: 2 additions & 20 deletions docs/overview/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,8 @@ Overview of iVIS
.. toctree::
:titlesonly:

In this article:
- `iVIS`_
- `Translation`_
- `Introduction`_

----
iVIS
----

innovativt Verksamhetsystem i skolan.

-----------
Translation
-----------

innovative Business system in School.

------------
Introduction
------------
iVIS innovativt Verksamhetsystem i skolan
-----------------------------------------

It is a VINNOVA-funded project to create basic conditions for the digitization of the Swedish school,
by building a completely open school administrative system.
Expand Down
6 changes: 4 additions & 2 deletions docs/quick_start/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ Install Maven
Download Tomcat server
~~~~~~~~~~~~~~~~~~~~~~

We recommends download `8 version <https://tomcat.apache.org/download-80.cgi/>`_
You can download from official `site <https://tomcat.apache.org//>`_

Extract Tomcat folder from archive, in place what you want.
Or use it :download:`apache-tomcat-8.5.4.tar.gz <../files/apache-tomcat-8.5.4.tar.gz>`.

Extract Tomcat folder from archive in place what you want.



Expand Down
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
4 changes: 4 additions & 0 deletions docs/quick_start/walkthrough_install_ivis_server.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Walkthrough: Install iVIS Server
================================

Prerequisites
_____________

*For install iVIS server you need*:

* `Git <https://git-scm.com//>`_
Expand Down

0 comments on commit 1cfc995

Please sign in to comment.