Deploying Yesod web app

后端 未结 2 835
情话喂你
情话喂你 2021-01-05 17:13

I have a simple Yesod web app. I could follow the instruction in http://www.yesodweb.com/page/quickstart, and checked stack exec -- Yesod devel is working fine

2条回答
  •  既然无缘
    2021-01-05 17:47

    As far as I know, the executable should be in the build subdirectory of your project directory. I think it's a hidden directory (name starting with a dot) so you may need to run "ls -a" to see it.

    To run - simply execute the executable :) (Append '&' to make it run in the background).

    Once you have the final version you wish to go into production with, you'll probably configure the executable to start automatically when the VM boots, to detect if the executable crashed, etc.

    Good luck, Michał

提交回复
热议问题