Index that kinda works and is backed by a database. Still lots to do.

This commit is contained in:
yackob03 2013-09-20 11:55:44 -04:00
commit 8e169b1026
9 changed files with 477 additions and 0 deletions

10
app.py Normal file
View file

@ -0,0 +1,10 @@
from flask import Flask, make_response, jsonify
app = Flask(__name__)
@app.route('/_ping')
@app.route('/v1/_ping')
def ping():
response = make_response('true', 200);
response.headers['X-Docker-Registry-Version'] = '0.6.0'
return response