4 changed files with 24 additions and 0 deletions
@ -0,0 +1,4 @@
|
||||
!#/bin/sh |
||||
source venv/bin/activate |
||||
flask --app src/app --debug run |
||||
|
@ -0,0 +1,8 @@
|
||||
from flask import Blueprint, request |
||||
|
||||
bp = Blueprint('document', __name__, url_prefix='/api/doc') |
||||
|
||||
@bp.route('/build') |
||||
def build(): |
||||
return '<p>Building '+request.args.get('doc')+'@'+request.args.get('branch')+' ...</p>' |
||||
|
Loading…
Reference in new issue