MVP: config.yaml, pipeline runner, API routes, UI with checkboxes and run button
This commit is contained in:
@@ -3,11 +3,13 @@ import os
|
||||
from flask import Flask
|
||||
|
||||
from routes.main import bp as main_bp
|
||||
from routes.api import bp as api_bp
|
||||
|
||||
app = Flask(__name__, template_folder="templates", static_folder="static")
|
||||
app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc")
|
||||
app.config["NUBES_API_TOKEN"] = os.getenv("NUBES_API_TOKEN", "")
|
||||
app.register_blueprint(main_bp)
|
||||
app.register_blueprint(api_bp)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user