mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added check on correct setup of the environment
This commit is contained in:
3
frontend/server/.vscode/launch.json
vendored
3
frontend/server/.vscode/launch.json
vendored
@@ -12,8 +12,7 @@
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"args": ["--config", "${input:enterDir}/Config/olympus.json"],
|
||||
"program": "./bin/www",
|
||||
"preLaunchTask": "prepare-dcs"
|
||||
"program": "./bin/www"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
|
||||
6
frontend/server/.vscode/tasks.json
vendored
6
frontend/server/.vscode/tasks.json
vendored
@@ -3,12 +3,6 @@
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "copy-website",
|
||||
"type": "shell",
|
||||
"command": "./scripts/copy.bat",
|
||||
"isBackground": false
|
||||
},
|
||||
{
|
||||
"label": "demo-server",
|
||||
"type": "shell",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user