Skip to content

bachaAI/ds_homework1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ds_homework1

Distributed Systems course homework 1

How to succesfully run the program (do only this actions):

  1. Enter your server IP while running server/server_side.py
  2. Enter IP address above while running: client1/client_side1.py, client2/client_side2.py, client3/client_side3.py , too.
  3. Check if ports 50001, 50002, 50003 on server are free. If not, using terminal kill processes in ports (in Unix sudo kill -9 PID).
  4. run server/server_side.py
  5. run all or some of clients: client1/client_side1.py, client2/client_side2.py, client3/client_side3.py
  6. Follow the instructions in clients' terminal.
  • Decision 1 means uploading existing file. You should have a txt file in clients directory and write its name when you are asked to.
  • Decision 2 means creating new file. Simply write a unique file name in format 'name.txt'
  • Decision 3 means working on exisiting file. You should write a filename from a list of existing file as well as to know password to the file. By default you can work on file 'file1.txt', the password for this file is '123'.

7.GUI will be run if everything is entered correctly.

How to use GUI of collaborative editor:

In this version (1.0) for appropriate work it is NOT reccomended to

  • Use button bindings as Ctrl+x, Ctrl+v, except Ctrl+c.
  • Push several buttons at once or hold button as long as you want.
  • Use all function buttons, as F1-F12, etc.
  • Because of GUI from Tkinter, you also should not press Backspace, in the empty string.

You can use following functional buttons: Enter, Backspace (except case 4 above), Shift.

About

Distributed Systems course homework 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages