Haskell on Heroku
Ensure you have Nix installed and run:
$ nix-shell -A env --command "runhaskell Main.hs"
You should now have a pretty great web site running. Point a web browser at http://localhost:8000/hello/world to see it.
Create a new Heroku App.
Ensure you have Docker installed and running.
Log into the heroku cli and container registry.
$ nix-shell -p heroku $ heroku login $ heroku container:login
- Run the deploy script with your Heroku App name.
$ ./deploy infinite-anchorage-09330
- Open a browser and see it in action.