A structure to quickly get started with Tornado
Requirements:
$ pip3 install tornado
Recommended: In local env, set following in .bashrc
export PYTHONIOENCODING=utf-8
export PYTHONDONTWRITEBYTECODE=1
export PYTHONDEBUG=1
export PYTHONUNBUFFERED=1
To start working, run this in Bash:
$ cd your-dir
$ python3 app.py
It will start a webserver on the port specified in conf.py By default, open following URL in your browser the check wheather it work:
http://127.0.0.1:8765/start