Lunch menus on Chalmers in Gothenburg. Issues and pull requests welcome.
git clone https://github.com/dtekcth/mat-chalmers.git
cd mat-chalmers
cabal update
cabal build # (or cabal run)
If you're using NixOS (or just Nix package manager), use the following instructions to get a development environment running:
nix develop # Download dependencies and start a dev-shell with everything setup
Or, to build everything:
nix build # (or nix run)
Pro-tip, to get shorter build times, consider using Cachix and use
the jassob
or pingu
cache:
cachix use jassob # Only needed once
cachix use pingu # Probably more up to date as of 5/6-24
Currently, the css framework used is TailwindCSS.
To generate css, you can use the Tailwinds cli program to generate the new css by running tailwindcss --content src/View.hs --output static/style.css --minify
.
Worth noting is that the css is embedded in the binary, and changes to it aren't well captured by cabal, so cabal clean && cabal run
or just up
that fixes the css file and then runs the program.
When running docker compose up --build
, the css file will be generated by it self.
Favicon made by Freepik from www.flaticon.com is licensed by CC BY 3.0