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.
The server that I use (Amazon EC2) has only one gigabyte of memory, so I can't compile the Yesod web. I used my local machine to build. Both of them use Ubuntu 14.04.
From http://www.yesodweb.com/book/deploying-your-webapp, I need three components to deploy to other machine.
- Your executable.
- The config folder.
- The static folder.
I find easily the config/static folder, but I'm not exactly sure where to find the executable(s). Other than that, how to run the exeuctable without using stack exec -- Yesod devel
?