Installing SysOn for SysML V2 - Fixed
Автор: modeldrivenhu
Загружено: 2023-12-19
Просмотров: 1322
In the first version of the video I forgot the part where you need to build the docker image, this is something I fixed in the new one. Sadly, the old video cannot be replaced with a new one, so I decided to upload a fix and link them together.
In the following video I demonstrate how to install SysOn on a local computer. #sysmlv2 #sysml #mbse
--------------------------------------------------------------------------------------------
Prereq:
Install all the necessary libraries and applications
Create a token
--------------------------------------------------------------------------------------------
Get source:
git clone https://github.com/eclipse-syson/syso...
--------------------------------------------------------------------------------------------
Build:
npm login --scope=@NAMESPACE --auth-type=legacy --registry=https://npm.pkg.github.com
npm config set script-shell "C:\Program Files\Git\bin\bash.exe"
npm ci
npx turbo run build
"C:\Program Files\git\bin\bash.exe"
Copy files:
mkdir -p backend/application/syson-frontend/src/main/resources/static
cp -R frontend/syson/dist/* backend/application/syson-frontend/src/main/resources/static
exit
Set environmental variables
set USER={github_username}
set PASSWORD={token}
Make the build:
mvn -U -B -e clean verify --settings settings.xml
--------------------------------------------------------------------------------------------
Create the docker image:
docker build -t syson backend/application/syson-application
--------------------------------------------------------------------------------------------
Run the app:
cd backend/application/syson-application
docker-compose up
--------------------------------------------------------------------------------------------
Access it:
localhost:8080
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: