Tornado-based, customizable web application template.
Edit public/index.html
, add your own JavaScript code to public/scripts
,
add handlers for your routes to webapp/handlers
, and watch your app fly!
- Install the following dependencies:
- supervisor
- nginx
- npm
Using Homebrew:
brew install supervisor nginx node
On Debian or Ubuntu:
sudo apt-get install nginx supervisor npm nodejs-legacy
- Install Python and npm dependencies:
make dependencies
- Run
make
to start the server, and navigate tolocalhost:7000
.
Debugging:
- Run
make log
to watch log output - Run
make debug
to start webserver in debug mode - Run
make attach
to attach to output of webserver, e.g. for use withpdb.set_trace()