zonemaster / zonemaster-gui

The Zonemaster GUI - part of the Zonemaster project
Other
14 stars 22 forks source link

Add gui server #439

Open hannaeko opened 1 year ago

hannaeko commented 1 year ago

Purpose

Add a basic web server to serve GUI files.

Context

Based on #434 Following a discussion in the face to face, we decided to serve the GUI from a server to allow more flexibility.

Changes

How to test this PR

Running the server:

% plackup scripts/zonemaster-gui
hannaeko commented 10 months ago

This is still a draft as it is not finished, but I would like some early feedback to avoid going the wrong path.

hannaeko commented 10 months ago

Commit 80e36dd is the relevant stuff

hannaeko commented 9 months ago

I still need architecture approval on this PR to finish (or change) this work.

matsduf commented 8 months ago

Danser will create daemon listening to http, won't it? Will that be on localhost using apache as a reverse proxy? Will everything still be packaged in one zip file as today?

marc-vanderwal commented 8 months ago

Dancer can spawn a small HTTP server for testing purposes, but when deploying a Dancer app in production, it can also spawn a FastCGI server, which is less expensive.

hannaeko commented 8 months ago

Danser will create daemon listening to http, won't it? Will that be on localhost using apache as a reverse proxy?

yes, there will be a reverse proxy in front either way

Will everything still be packaged in one zip file as today?

No it will be packaged as a perl module.

hannaeko commented 8 months ago

I am delaying that for next release, I think this PR needs more thoughts.