yesod devel alternatives for sandbox environment

Hi everyone, I'm looking to get started with Yesod for the first time and need some guidance. I installed Yesod with cabal-dev (which I needed to resolve some of the dependency conflicts), and then discovered/read that I won't be able to use the yesod devel server with a sandbox environment. I read some old discussions on the list saying this is being worked on, but in the meantime what other options do I have? Since I'm completely new to Haskell web development I'm not sure if I should be looking into warp-debug or something else as a reasonably easy way to test an application under development. I'm definitely open to any advice or other tips and tricks on setting up a nice development environment for Yesod. Thanks! Eric

Hi Eric,
warpDebug just prints out a debug log.
Your options for development are:
* compile manually with cabal-dev (that actually works)
* modify yesod devel or possibly the Shaker package to work with cabal-dev
* attempt to use wai-handler-devel with cabal-dev (Theoretically possible by
changing an environment variable, but doesn't seem to work)
* use cabal, not cabal-dev on a virtual machine (This is not as bad as it
sounds, actually the best option if you have a lot of RAM to spare on a fast
computer.)
A better development environment (that works with cabal-dev) is on our TODO
list.
Thanks,
Greg Weber
On Wed, Jul 13, 2011 at 11:37 AM, Eric Rasmussen
Hi everyone,
I'm looking to get started with Yesod for the first time and need some guidance. I installed Yesod with cabal-dev (which I needed to resolve some of the dependency conflicts), and then discovered/read that I won't be able to use the yesod devel server with a sandbox environment. I read some old discussions on the list saying this is being worked on, but in the meantime what other options do I have?
Since I'm completely new to Haskell web development I'm not sure if I should be looking into warp-debug or something else as a reasonably easy way to test an application under development. I'm definitely open to any advice or other tips and tricks on setting up a nice development environment for Yesod.
Thanks! Eric
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

One more thing to try for your development environment is the google gold
linker, which links much faster.
On Wed, Jul 13, 2011 at 1:06 PM, Greg Weber
Hi Eric,
warpDebug just prints out a debug log.
Your options for development are: * compile manually with cabal-dev (that actually works) * modify yesod devel or possibly the Shaker package to work with cabal-dev * attempt to use wai-handler-devel with cabal-dev (Theoretically possible by changing an environment variable, but doesn't seem to work) * use cabal, not cabal-dev on a virtual machine (This is not as bad as it sounds, actually the best option if you have a lot of RAM to spare on a fast computer.)
A better development environment (that works with cabal-dev) is on our TODO list.
Thanks, Greg Weber
On Wed, Jul 13, 2011 at 11:37 AM, Eric Rasmussen
wrote: Hi everyone,
I'm looking to get started with Yesod for the first time and need some guidance. I installed Yesod with cabal-dev (which I needed to resolve some of the dependency conflicts), and then discovered/read that I won't be able to use the yesod devel server with a sandbox environment. I read some old discussions on the list saying this is being worked on, but in the meantime what other options do I have?
Since I'm completely new to Haskell web development I'm not sure if I should be looking into warp-debug or something else as a reasonably easy way to test an application under development. I'm definitely open to any advice or other tips and tricks on setting up a nice development environment for Yesod.
Thanks! Eric
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

A virtual machine might work best so I'll try that. Thanks for the details
and fast response!
On Wed, Jul 13, 2011 at 1:15 PM, Greg Weber
One more thing to try for your development environment is the google gold linker, which links much faster.
On Wed, Jul 13, 2011 at 1:06 PM, Greg Weber
wrote: Hi Eric,
warpDebug just prints out a debug log.
Your options for development are: * compile manually with cabal-dev (that actually works) * modify yesod devel or possibly the Shaker package to work with cabal-dev * attempt to use wai-handler-devel with cabal-dev (Theoretically possible by changing an environment variable, but doesn't seem to work) * use cabal, not cabal-dev on a virtual machine (This is not as bad as it sounds, actually the best option if you have a lot of RAM to spare on a fast computer.)
A better development environment (that works with cabal-dev) is on our TODO list.
Thanks, Greg Weber
On Wed, Jul 13, 2011 at 11:37 AM, Eric Rasmussen
wrote:
Hi everyone,
I'm looking to get started with Yesod for the first time and need some guidance. I installed Yesod with cabal-dev (which I needed to resolve some of the dependency conflicts), and then discovered/read that I won't be able to use the yesod devel server with a sandbox environment. I read some old discussions on the list saying this is being worked on, but in the meantime what other options do I have?
Since I'm completely new to Haskell web development I'm not sure if I should be looking into warp-debug or something else as a reasonably easy way to test an application under development. I'm definitely open to any advice or other tips and tricks on setting up a nice development environment for Yesod.
Thanks! Eric
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
participants (2)
-
Eric Rasmussen
-
Greg Weber