Configure SyncApp Server Setup
1.docker run -d -p 27017:27017 -P --name my-mongo mongo:3.2.20
2.docker ps This command will give you mongo docker container id< id1>
3.docker inspect < id1> Here you will get of mongo container
4.docker run -d -e TZ=Asia/Calcutta -e mongodburl= -p 8089:8080 -P --name syncapp_container-new teachingpark/s-app1:1.0-beta NOTE: Here mongodb url will be the ip address only. Say for example 172.17.0.2
-
Then Go to URL to see the dashboard: http://your ip or localhost:8089/app/#/main
-
Go to Add App URL to add the new App: http://localhost:8089/app/#/addapp This app will be used in the SyncApp Client code. For example mentioned in the file TestSelenium.java for first parameter in method call endTracking() devtoolAnalyzer.endTracking("Stackoverflow-Web","Questions","testuser2@gmail.com");
Configure SyncApp Client Setup:
- Get latest code from https://github.com/bpant12/SyncApp/
- Change Server URL as per enviornment in ../main/resources/config/config.json for example if you have multiple SyncApp server running , one for localhost another for qe etc. then change the SyncApp URL as per URL in step 3 above.By default localhost URL will be set.