How to succesfully run the program (do only this actions):
- Enter your server IP while running server/server_side.py
- Enter IP address above while running: client1/client_side1.py, client2/client_side2.py, client3/client_side3.py , too.
- Check if ports 50001, 50002, 50003 on server are free. If not, using terminal kill processes in ports (in Unix sudo kill -9 PID).
- run server/server_side.py
- run all or some of clients: client1/client_side1.py, client2/client_side2.py, client3/client_side3.py
- 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.