TSNP218-03 / assignment-happyteam

assignment-happyteam created by GitHub Classroom
0 stars 0 forks source link

Fix Frontend (sensornode.py) #9

Closed hadrihl closed 4 years ago

hadrihl commented 4 years ago

To fix the frontend due to static code implementation especially on server's ip address.

current method to connect to server's as below:

sio.connect('http://192.168.0.35:55555')

I am proposing to apply dynamic IP by passing the server's IP and port number as arguments.

i.e:

python sensornode.py <ip-address> <port-number>
hadrihl commented 4 years ago

to fasten the development, let just use the localhost for now. Till we have time to work on that dynamic IP.

hadrihl commented 4 years ago

im closing this. Consider out of scope. let focus on local development and setup first now.