Split client into frontend website and server

This commit is contained in:
Pax1601
2024-02-08 22:04:23 +01:00
parent 55f3bd5adb
commit 5ca6c97cbe
792 changed files with 149898 additions and 13872 deletions

View File

@@ -0,0 +1,10 @@
echo D|xcopy /Y /S /E .\bin ..\..\build\frontend\bin
echo D|xcopy /Y /S /E .\public ..\..\build\frontend\public
echo D|xcopy /Y /S /E .\routes ..\..\build\frontend\routes
echo D|xcopy /Y /S /E .\views ..\..\build\frontend\views
echo F|xcopy /Y .\app.js ..\..\build\frontend\app.js
echo F|xcopy /Y .\client.js ..\..\build\frontend\client.js
echo F|xcopy /Y .\package.json ..\..\build\frontend\package.json
echo F|xcopy /Y /I .\*.vbs ..\..\build\frontend

View File

@@ -0,0 +1,5 @@
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

@@ -0,0 +1,2 @@
echo F|xcopy /Y "..\..\olympus.json" "..\..\mock-dcs\Config\olympus.json"
echo D|xcopy /Y /S /E "..\..\databases" "..\..\mock-dcs\Mods\Services\Olympus\databases"

View File

@@ -0,0 +1,3 @@
call ./scripts/copy.bat
call ./scripts/create-mock-dcs.bat
node ./bin/demo --config %1