Skip to content

Instantly share code, notes, and snippets.

@inklesspen
Created June 18, 2015 19:19
Show Gist options
  • Save inklesspen/ec22120efc02a48714db to your computer and use it in GitHub Desktop.
Save inklesspen/ec22120efc02a48714db to your computer and use it in GitHub Desktop.
Montague example
[application.main]
filter-with = "pony"
use = "egg:webtest#debug"
[filter.pony]
use = "egg:paste#pony"
[server.main]
use = "egg:waitress"
host = "127.0.0.1"
port = 8080
from montague import load_app, load_server
import os
config_path = os.path.join(os.path.dirname(__file__), "config.toml")
app = load_app(config_path)
server = load_server(config_path)
server(app)
Paste==2.0.2
WebTest==2.0.18
montague==0.2.1
montague-toml==0.2.0
waitress==0.8.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment