On 09/14/2016 10:18 AM, Bryan Richter wrote:
> On Wed, Sep 14, 2016 at 08:30:01AM -0700, Aaron Wolf wrote:
>> On 09/14/2016 08:26 AM, Bryan Richter wrote:
>>>
>>> To be honest, my workflow has been the following:
>>>
>>>     $ ./sdb.hs start
>>>     $ source <(./sdb.hs env)
>>>     $ <stack commands, or psql/database commands>
>>>
>>> Sourcing the output of "./sdb.hs env" sets up the environment so all
>>> following commands connect to the local database.
>>>
>>
>> Okay, but I don't know from that how to actually run the site.
>>
>>
> 
> For <stack commands>, you can use:
> 
>     1) stack exec yesod devel
> 
>     2) stack exec Snowdrift
> 
>     3) cd website; stack ghci --package foreign-store
>        -- and then from the ghci prompt:
>        -- > :load app/DevelMain.hs
>        -- > update
> 
> 

Okay, I'll do that, although I suspect yesod devel still relies on
cabal-install which means extra building and then also (at least before)
didn't work well with ghc-mod (although nothing I'm doing these days
really needs ghc-mod

Anyway, I hope we can clean this up soon, not necessarily before
shut-up-and-take-my-money but at least to not block volunteers from
running the code (so either document the status quo or provide larger fix)


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dev mailing list
Dev@lists.snowdrift.coop
https://lists.snowdrift.coop/mailman/listinfo/dev

Reply via email to