Permalink
Browse files

Start porting to Flask

  • Loading branch information...
1 parent ad749d3 commit 2fd2d215f34458d622ecd7743dacc74111a6be7b @alexkay committed Dec 15, 2011
View
@@ -0,0 +1,4 @@
+.PHONY: run
+
+run:
+ ./main.py
View
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+
+from flask import Flask
+app = Flask(__name__)
+
+@app.route("/")
+def index():
+ return "Hello World!"
+
+if __name__ == "__main__":
+ app.run(host='0.0.0.0')
View
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/opt/google_appengine/dev_appserver.py src
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/opt/google_appengine/appcfg.py --email=alexander@kojevnikov.com update src

0 comments on commit 2fd2d21

Please sign in to comment.