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

Attachment: signature.asc
Description: Digital signature

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

Reply via email to