I had a little trouble getting started with Bottle. The main thing was that I had trouble accessing my own Javascript in Bottle’s BasicTemplates. The trick was to do two things:
- Allow templates to access the “get_url” function
- Create an endpoint to serve your own static pages yourself