Reputation: 17930
I'm trying to setup a test website with yesod. I've installed everything as per the instructions, but I still get the error :
"the Application isn't built. we'll keep trying to refresh every second."
I've ran the commands : cabal-dev configure, cabal-dev build.
What can I do to be able to run my server and see the test application on the browser?
Upvotes: 3
Views: 689
Reputation: 4060
Typically, you should not build project yourself, just running yesod devel
will build and run server in development mode.
The message you are getting in the browser, might be due to your application is still building, or contains an error, so check console for errors.
Upvotes: 0
Reputation: 17930
I was able to successfully start my application by using the command :
cabal-dev/bin/yesod-test Develoent --port 3000.
This wasn't mentionned anywhere in the docs.
Upvotes: 1