Deploying Yesod web app

后端 未结 2 844
情话喂你
情话喂你 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:36

    The stack build command gives me the hints:

    my-project-0.0.0: install
    Installing library in
    /home/a/my-project/.stack-work/install/x86_64-linux/lts-3.13/7.10.2/lib/x86_64-linux-ghc-7.10.2/my-project-0.0.0-Khn8lQEgR1HARzYGStlvPe
    Installing executable(s) in
    /home/a/my-project/.stack-work/install/x86_64-linux/lts-3.13/7.10.2/bin
    Registering my-project-0.0.0...
    

    The executable is located in /home/a/my-project/.stack-work/install/x86_64-linux/lts-3.13/7.10.2/bin. I could copy the files (executable, static, and config) in ~/deployment directory to check the Yesod works fine.

提交回复
热议问题