Skip to content

Conversation

@b-gehrke
Copy link
Collaborator

First part of new python gui

@b-gehrke b-gehrke requested a review from tillmo July 11, 2024 13:24
@b-gehrke
Copy link
Collaborator Author

I recommend working with docker. First, build hyphen, then the python API, finally the GUI

docker build -t hyphen:22.04 -f Docker/hyphen.Dockerfile  .
docker build -t spechub2/hets-api:latest -f Docker/hetsapi.Dockerfile .
docker build -t spechub2/hets-gui:latest -f Docker/hetsgui.Dockerfile .

Then start the GUI with

docker run --rm --net=host -e DISPLAY=$DISPLAY spechub2/hets-gui:release

For development purposes, I recommend to to build the hetsgui image to the debug stage and mount the local copy:

docker build -t spechub2/hets-gui:latest -f Docker/hetsgui.Dockerfile --target debug .
docker run --rm --net=host -e DISPLAY=$DISPLAY -v $PWD/HetsAPI:/opt/hets/HetsAPI -v $PWD/HetsAPI.hs:/opt/hets/HetsAPI.hs -v $PWD/python/api:/opt/hets/python/api -v $PWD/python/gui:/opt/hetsgui spechub2/hets-gui:release

Copy link
Contributor

@tillmo tillmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate that there is some documentation, but there should be still more.

@tillmo
Copy link
Contributor

tillmo commented Aug 13, 2024

please add a link to the documentation https://b-gehrke.github.io/Hets/ to README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants