10. Team server
What we will do: run the web UI for a team.
With a token
wireforge serve --workspace . --host 0.0.0.0 --port 8000 --token "$(openssl rand -hex 16)"
http://<host>:8000/?token=<the token>. Every request needs the token; without --token anyone who reaches the
port can change the models. For single sign-on, --oidc-issuer checks the tokens of your identity provider instead.
Several people can edit the same project: every save carries the version of the project it was based on, and a save over a newer version is refused instead of overwriting someone else's work. The Versions tab compares the working copy with the git history.
In Docker
The repository has a Dockerfile with WireForge, the web UI and the compilers:
docker build -t wireforge https://github.com/oguzhankynk/wireforge.git
docker run -p 8000:8000 -v "$PWD:/workspace" wireforge
The server is meant for a team's internal network. Read the deployment notes before you expose it.