wip
This commit is contained in:
parent
c3936950eb
commit
f4ea0d7c0d
2 changed files with 2 additions and 4 deletions
2
README.md
Normal file
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export FLASK_APP=build_server
|
||||||
|
flask run
|
|
@ -14,7 +14,3 @@ def build():
|
||||||
hook_data = request.get_json()
|
hook_data = request.get_json()
|
||||||
print(hook_data)
|
print(hook_data)
|
||||||
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", json.dumps(hook_data)])
|
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", json.dumps(hook_data)])
|
||||||
|
|
||||||
|
|
||||||
if __name__ =='__main__':
|
|
||||||
app.run(host='0.0.0.0')
|
|
||||||
|
|
Loading…
Reference in a new issue