1. Sean Davis
  2. bottletest-on-dotcloud

Commits

Sean Davis  committed 871e40c

initial working version

  • Participants
  • Branches master

Comments (0)

Files changed (4)

File .dotcloud/config

View file
+{
+    "push_branch": null, 
+    "application": "bottletest", 
+    "version": "0.9.3", 
+    "push_protocol": "rsync"
+}

File dotcloud.yml

View file
+www:
+  type: python
+

File requirements.txt

View file
+bottle

File wsgi.py

View file
+import bottle
+from bottle import route, run, template
+
+@route('/hello/:name')
+def index(name='World'):
+    return template('<b>Hello {{name}}</b>!', name=name)
+
+application = bottle.default_app()