-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInstructions.txt
31 lines (22 loc) · 1.41 KB
/
Instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Download from github:
*git clone https://github.com/ktsakos/distributed_systems.git
*username:ktsakos
*password:kostas581994
Alternatively, download from google drive:
https://drive.google.com/drive/folders/1-DQ22wm2EmniWlUtA8Lyf6xOphbH1WYy?usp=sharing
HOW TO DEPLOY IT:
-Into the repository run:
*sudo docker-compose up -d
In case you don't deploy it locally:
-Every client access 1)authentication service to assign roles and 2)playmaster for socket connection via the docker ip of the services
- In case the project is not running locally ,change
the docker ips in the following lines with the floating ip of the VM the project is deployed in to access these services from outside
1)Into the distributed_systems/FrontEnd/html/welcome.php file change the line 162
2)Into the distributed_systems/BackEnd/authentication_service/templates/all_users.html file change the line 158
3)Into the distributed_systems/FrontEnd/html/js/chess.js change the line 23
4)Into the distributed_systems/FrontEnd/html/js/tictoe.js change the line 1
HOW TO ENTER THE APP:
1)Open your browser
2)Visit the app in the url: 172.16.1.3
3)There is already an admin account username:ktzavara password:12345
4)You can play a multiplayer game with a second account username:tsakostas7 password:1234 (ATTENTION!!!! The second player MUST visit the app from another browser because there will be conflicts with session variables!!!)