-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/staging'
- Loading branch information
Showing
6 changed files
with
97 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
## To customize Nu Designer configuration see https://nussknacker.io/documentation/docs/installation_configuration_guide/Common/ | ||
## To customize Nu Designer configuration see https://nussknacker.io/documentation/docs/configuration/Common/#configuration-file | ||
|
||
scenarioTypes { | ||
"streaming" { | ||
# customize Flink streaming scenario type | ||
# see: https://nussknacker.io/documentation/docs/next/installation_configuration_guide/Common/#configuration-file | ||
} | ||
"streaming-lite-embedded" { | ||
# customize Lite streaming scenario type | ||
# see: https://nussknacker.io/documentation/docs/next/installation_configuration_guide/Common/#configuration-file | ||
} | ||
"request-response-embedded": { | ||
# customize Lite request-response scenario type | ||
# see: https://nussknacker.io/documentation/docs/next/installation_configuration_guide/Common/#configuration-file | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@echo off | ||
chcp 65001 >nul | ||
setlocal enabledelayedexpansion | ||
|
||
set "BRANCH_NAME=%~1" | ||
if "%BRANCH_NAME%"=="" set "BRANCH_NAME=main" | ||
|
||
set "NU_QUICKSTART_DIR=nussknacker-quickstart-%BRANCH_NAME%" | ||
|
||
powershell -Command "Invoke-WebRequest -Uri 'https://github.com/TouK/nussknacker-quickstart/archive/refs/heads/%BRANCH_NAME%.zip' -OutFile '%NU_QUICKSTART_DIR%.zip'" | ||
|
||
if exist "%NU_QUICKSTART_DIR%" ( | ||
rd /s /q "%NU_QUICKSTART_DIR%" | ||
) | ||
|
||
powershell -Command "Expand-Archive -Path '%NU_QUICKSTART_DIR%.zip' -DestinationPath ." | ||
|
||
cd "%NU_QUICKSTART_DIR%" | ||
|
||
call start.bat | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@echo off | ||
chcp 65001 >nul | ||
setlocal enabledelayedexpansion | ||
|
||
echo Running Nussknacker Quickstart ... | ||
echo. | ||
|
||
docker --version >nul 2>&1 | ||
if errorlevel 1 ( | ||
echo No Docker found. Docker is required to run this Quickstart. See https://docs.docker.com/engine/install/ | ||
exit /b 1 | ||
) | ||
|
||
docker compose version >nul 2>&1 | ||
if errorlevel 1 ( | ||
echo No docker compose found. It seems you have to upgrade your Docker installation. See https://docs.docker.com/engine/install/ | ||
exit /b 2 | ||
) | ||
|
||
docker compose config >nul 2>&1 | ||
if errorlevel 1 ( | ||
echo Cannot validate docker compose configuration. It seems you have to upgrade your Docker installation. See https://docs.docker.com/engine/install/ | ||
exit /b 3 | ||
) | ||
|
||
docker compose up -d --build --wait | ||
|
||
echo. | ||
echo Nussknacker and its dependencies are up and running. | ||
echo Open http://localhost:8080 and log in as admin:admin ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
cd /d "%~dp0" | ||
|
||
echo Running Nussknacker Quickstart clean up ... | ||
echo. | ||
|
||
docker --version >nul 2>&1 | ||
if errorlevel 1 ( | ||
echo No Docker found. Docker is required to run this Quickstart. See https://docs.docker.com/engine/install/ | ||
exit /b 1 | ||
) | ||
|
||
docker compose version >nul 2>&1 | ||
if errorlevel 1 ( | ||
echo No docker compose found. It seems you have to upgrade your Docker installation. See https://docs.docker.com/engine/install/ | ||
exit /b 2 | ||
) | ||
|
||
docker compose config >nul 2>&1 | ||
if errorlevel 1 ( | ||
echo Cannot validate docker compose configuration. It seems you have to upgrade your Docker installation. See https://docs.docker.com/engine/install/ | ||
exit /b 3 | ||
) | ||
|
||
docker compose down -v | ||
|
||
echo All is cleaned. Goodbye | ||
|