This will only server the seals and not host the static files
- Run
npm i
- Copy the
.env.example
file to.env
and setUSE_DEV=true
- Run
npm run start:dev
Will build the static files from a given local path and serve it
- Run
npm i
- Run (in Git Bash on Windows)
./dev_build_static.sh ../path/to/SiegelWebapp
(Run this everytime there are changes in the Webapp) - Run
npm run start:dev
to run the Server onlocalhost:8080
Note: siegel.json
and staticBrowse
is pre-generated here: https://drive.google.com/file/d/1UGoiUCIfwOlD402CmQxyx3yE_wRZiRvJ/view?usp=sharing
- Run
npm i
- Run
download_static.sh
(Downloads therelease
branch from the webapp and builds it intostatic/
) - Create a
assets/
folder and addheightmap
,stl
andoriginal
folders with respective data - Create a
assets/siegel.json
by runningpython convertLido2Json.py lido_folder assets/siegel.json
on a folder with the lido.xml
files - Create a folder
staticBrowse
and add thethumbnails/
andbrowseSealCoordinates.csv
- Build the server with
npm run build
and start withnpm start