Initial commit

This commit is contained in:
Alexander Kislitsky 2014-09-15 08:38:37 +04:00
parent 1a1268fcc1
commit 0640d4bba3
11 changed files with 36 additions and 0 deletions

3
.gitignore vendored
View File

@ -52,3 +52,6 @@ docs/_build/
# PyBuilder
target/
.venv/
.idea

View File

@ -0,0 +1 @@
__author__ = 'akislitsky'

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,5 @@
from flask import Flask
app = Flask(__name__)

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,7 @@
def fib(n):
a, b = 0, 1
for i in range(n):
a, b = b, a + b
return a

View File

@ -0,0 +1,5 @@
from flask import Flask
app = Flask(__name__)
from collector.app import views

View File

@ -0,0 +1,6 @@
from collector.app import app
@app.route('/ping')
def ping():
return 'ok'

View File

@ -0,0 +1 @@
flask

5
collector/run.py Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env python
from collector.app import app
app.run(debug=True)