To get started:
- Install Python 3
- Install pip (if not installed by the above step)
pip install bottle
- installs the Bottle library, used byweb.py
python web.py
- runs the webserver
# Web.py uses a different URL. | |
# Please go into HttpActor.cpp and change the designated URL, as follows: | |
Request->SetURL("http://localhost:8080/"); |
To get started:
pip install bottle
- installs the Bottle library, used by web.py
python web.py
- runs the webserverfrom bottle import * | |
@get('/') | |
def serve_json(): | |
return {"customInt": 1234} | |
run(host='localhost', port=8080) |