To collect most common browser size for most computer. Since we won't work on so much time of solving problems for different resolution of browser, we will collect the most common browser's resolution by using this.
- You should have a python 2 environment, I developed it with python 2.7.14
- You should have these libraries: sqlite3, flask, Tornado. sqlite3 should be in python standard library,
which means you are most likely already having it, flask and Tornado can be installed via pip.
pip install flask
+pip install Tornado
- Create a database (.db file) in src, following the code in data.sql.
- Open the "main.py", change the port you want in the last few lines of codes here
http_server.listen(5000)
- Run main.py