Skip to content

Desktop document editor for share use. Project for MIPT Desktop Application course.

License

Notifications You must be signed in to change notification settings

ivigns/mipt-cis-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CIS Docs

CIS Docs allows users to create and edit documents online while collaborating with other users in real-time. Project is based on symmetrical algorithm employing an unending cycle of background difference (diff) and patch operations called Differential synchronization.

Application is a desktop client that can be run on Windows, Linux and Mac; and a server which is run on Google Cloud.

Setup and First Run

Latest portable application is available for download at repository releases.

At first run you will be proposed to enter host and port of our server. Currently available server:

  • Host: 35.207.167.59
  • Port: 80

If app does not start (which is an unusual case), you need to build it by yourself for your version of OS. See Build Application section below.

Server startup

Server is running on Google Cloud instance with Debian 10 "buster". Swagger schema awailable here.

Ansible configuration was adapted only for Debian 10. You can try to run configuration locally or inside a container, however nothing is guarateed to work from scratch. To run a server on a new remote container, change the host in ansible-nginx-uwsgi/hosts. By default the configuration will run on port 80. After this run the command below (Ansible required):

ansible-playbook ansible-nginx-uwsgi/nginx-uwsgi.yml -i ansible-nginx-uwsgi/hosts

After all, the server will be ready for the work with clients.

UI overview

After launching the application, you will see a login screen where you need to enter your username and the host.

login

Press "Log in" button you and your are in game! You will find yourself on the home screen where you can see all the documents.

main

To update list of documents press the "update" button. After pressing "New Document" the new document will be created.

create_new

Select your document from the menu and double-click on it.

doc_list

At this point, you can write everything that come to your mind. Go ahead try it!

easy_text

This document will be accessible for all the users of our application, so do not be scared if you will see some edits that have not been made by you 😊

To save your changes go to the "File" menu and press Save/Save as.

Enjoy!

Build Application

If there is no executable suitable for your version of OS, you will have to build it from source code. To do so, you should clone this repository and run two scripts.

Ubuntu

Run from the root of the repository:

bash client/install_ubuntu_requirements.sh
bash client/build_ubuntu.sh

Executable would be located at dist folder.

Mac OS

Similarly, run:

bash client/install_mac_os_requirements.sh
bash client/build_mac_os.sh

Windows

First, try to execute bash scripts from GIT Bash:

bash client/install_windows_requirements.sh
bash client/build_windows.sh

If there is any error, you should install requirements described in client/windows_requirements.md and rerun scripts.

Contribution

Feel free to suggest features, report bugs, write them in the issues. We thoroughly watching after them.

About

Desktop document editor for share use. Project for MIPT Desktop Application course.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages