Drilla engine for HPC and visualization
requirements:
- Caddy for reverse proxy to combine React SPA and ASP .NET Core server.
- Node.js and pnpm
- dotnet 8.0+
- certificate files to serve https server, which is required for WebXR. You can use
mkcert
to generate it.
-
Add
DRILLA_SITE_ADDRESS
environment variable, this will be read in caddy file -
Use
mkcert
to generate self-assigned certificatescert.pem
andkey.pem
, put them intosrc/caddy/.cert
directory
-
Open
projects/Drilla.sln
, runserver
project to start a backend server -
Enter
src/client
directory, runpnpm run dev
to start a dev server to provide frontend code -
Enter
src/caddy
directory, runcaddy run
to start a reverse proxy to combine the above services -
Make modifications, both server and client supports hot module reload, simply save may work in many cases, when hot module reload does not work, restart corresponding service.
Start all services, open pages in