diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d01a759fd..547dd2d4e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -212,6 +212,26 @@ "color": "terminal.ansiCyan" }, }, + { + "label": "Build DataStream WebApp (Release)", + "group": "build", + "type": "process", + "command": "", + "linux": { + "command": "tools/build_data_stream_web_app.sh", + }, + "windows": { + "command": "tools/build_data_stream_web_app.cmd", + }, + "args": [ + "--configuration", + "Release", + ], + "icon": { + "id": "terminal", + "color": "terminal.ansiCyan" + }, + }, { "label": "Build Spark", "group": "build", @@ -587,6 +607,89 @@ "color": "terminal.ansiGreen", }, }, + { + "label": "Run DataStream WebApp (Debug)", + "dependsOn": "Build DataStream WebApp (Debug)", + "command": "", + "linux": { + "command": "Bts.DataStreamWebApp.Server", + }, + "windows": { + "command": "Bts.DataStreamWebApp.Server.exe", + }, + "args": [ + "--config", + "${workspaceFolder}/src/DataStreamSuite/Bts.DataStreamWebApp.Server/Configurations/DevServer.json", + ], + "options": { + "cwd": "${workspaceFolder}/build/Debug/bin/net7.0", + "env": { + "ASPNETCORE_HTTP_PORT": "8080", + "ASPNETCORE_HTTPS_PORT": "8443", + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy", + } + }, + "icon": { + "id": "run", + "color": "terminal.ansiGreen", + }, + }, + { + "label": "Run DataStream WebApp (Release)", + "dependsOn": "Build DataStream WebApp (Release)", + "command": "", + "linux": { + "command": "Bts.DataStreamWebApp.Server", + }, + "windows": { + "command": "Bts.DataStreamWebApp.Server.exe", + }, + "args": [ + "--config", + "${workspaceFolder}/src/DataStreamSuite/Bts.DataStreamWebApp.Server/Configurations/DevServer.json", + ], + "options": { + "cwd": "${workspaceFolder}/build/Release/bin/net7.0", + "env": { + "ASPNETCORE_HTTP_PORT": "8080", + "ASPNETCORE_HTTPS_PORT": "8443", + "ASPNETCORE_ENVIRONMENT": "Production", + "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy", + } + }, + "icon": { + "id": "run", + "color": "terminal.ansiGreen", + }, + }, + { + "label": "Run DataStream WebApp (Release | Skip Build)", + "command": "", + "linux": { + "command": "Bts.DataStreamWebApp.Server", + }, + "windows": { + "command": "Bts.DataStreamWebApp.Server.exe", + }, + "args": [ + "--config", + "${workspaceFolder}/src/DataStreamSuite/Bts.DataStreamWebApp.Server/Configurations/DevServer.json", + ], + "options": { + "cwd": "${workspaceFolder}/build/Release/bin/net7.0", + "env": { + "ASPNETCORE_HTTP_PORT": "8080", + "ASPNETCORE_HTTPS_PORT": "8443", + "ASPNETCORE_ENVIRONMENT": "Production", + "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy", + } + }, + "icon": { + "id": "run", + "color": "terminal.ansiGreen", + }, + }, { "label": "Run PubSubServer", "dependsOn": "Build DataStream",