Added check on correct setup of the environment

This commit is contained in:
Davide Passoni
2024-02-19 15:34:39 +01:00
parent bc6c70928f
commit 4efd48c4b9
12 changed files with 40 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
call ./scripts/copy.bat
call .\scripts\copy.bat
echo D|xcopy /Y /S /E .\bin ..\..\build\frontend\bin
echo D|xcopy /Y /S /E .\public ..\..\build\frontend\public

View File

@@ -1,5 +1,2 @@
echo F|xcopy /Y ..\website\node_modules\leaflet\dist\leaflet.css .\public\stylesheets\leaflet\leaflet.css
echo F|xcopy /Y ..\website\node_modules\leaflet-gesture-handling\dist\leaflet-gesture-handling.css .\public\stylesheets\leaflet\leaflet-gesture-handling.css
echo F|xcopy /Y ..\website\node_modules\leaflet.nauticscale\dist\leaflet.nauticscale.js .\public\javascripts\leaflet.nauticscale.js
echo F|xcopy /Y ..\website\node_modules\leaflet-path-drag\dist\L.Path.Drag.js .\public\javascripts\L.Path.Drag.js

View File

@@ -1,3 +1,7 @@
call ./scripts/copy.bat
call ./scripts/create-mock-dcs.bat
node ./bin/demo --config %1
cd ..
call .\check_setup.bat
cd server
call .\scripts\copy.bat
call .\scripts\create-mock-dcs.bat
node .\bin\demo --config %1