These are chat archives for jescalan/roots

3rd
Nov 2015
Javier Cubides
@javiercf
Nov 03 2015 20:30
Hey, so I was wondering in the mojotech case study how do you pass contentful variables to the rendered templates.js file?
Seth Krasnianski
@sethkrasnianski
Nov 03 2015 20:33
the contentful object is exposed to your views
we just leverage that
contentful.YourKey
script(type="text/javascript").
      window.Whatever = !{JSON.stringify(contetful.YourKey)};
Javier Cubides
@javiercf
Nov 03 2015 20:35
nice!!! thank you!
Seth Krasnianski
@sethkrasnianski
Nov 03 2015 20:35
:thumbsup: No problem
what are you working on over there, @javiercf?
Javier Cubides
@javiercf
Nov 03 2015 20:38
so, I read the smashingmag article yesterday and got pumped as hell lol, I'm currently rebuilding my site using roots and contentful, so I can write up a Blog post about the experience maybe a few tutorials, since I'm new to the whole thing I have a lot of questions, but I can really see myself using it for my clients
I mean the static hybrid idea blowed my mind, I've done angular projects but post processing for SEO compatibility is a pain, and this approach just looks sooo promising
Seth Krasnianski
@sethkrasnianski
Nov 03 2015 20:41
Definitely. It’s nice with roots. Like you said, if you have semi-static content you can make a great hybrid site and just deploy when content changes. It boosts perceived load time much like isomorphic apps. You can even use angular (or whatever) with this to handle the the post-render routing.
Benjamin Gandhi-Shepard
@gandhiShepard
Nov 03 2015 22:14

Can't seem to get past this Error:

make: ship: No such file or directory
make: *** [deploy] Error 1

Can anyone tell me what I'm missing? Just following the Contentful/Roots webinar and trying to get this going for the first time. I get this error when I run make delpoy Thanks!