- ghc == 9.4.4
- cabal >= 1.10
- gcloud
cabal build
cabal run
# Docker Hub
docker image build -t asattelmaier/website:latest -f docker/Dockerfile .
# Google Cloud
docker image build -t eu.gcr.io/PROJECT_ID/website:latest -f docker/Dockerfile .
docker run -p 8000:8000 --name website asattelmaier/website:latest
# Docker Hub
docker push asattelmaier/website:latest
# Google Cloud
docker push eu.gcr.io/PROJECT_ID/website:latest
When updating the GHC version in the project, make sure to follow these steps:
-
Update the
ghc-version
field in the GitHub workflows.- Open the
build.yaml
file located in the.github/workflows
directory. - Locate the
ghc-version
field and update it with the desired GHC version.
- Open the
-
Update the Prerequisites section in the README.md file.
- Open the README.md file.
- Locate the
Prerequisites
section. - Update the GHC version mentioned in the prerequisites to reflect the newly installed GHC version.