These are chat archives for jescalan/roots

1st
Apr 2015
Adam Argyle
@argyleink
Apr 01 2015 02:15
Screen Shot 2015-03-31 at 7.13.10 PM.png
not sure why I can't make a new default project
John-Henry Liberty
@jhliberty
Apr 01 2015 03:06
do you have npm installed?
Tristan McDonald
@permadesign
Apr 01 2015 08:52
@jenius Roots is great, and I'm excited to try using it with Contentful. Just wondering if you'd looked at Prismic.io when selecting a CMS, and if so why you chose Contentful over it?
Adam Argyle
@argyleink
Apr 01 2015 16:52
@jhliberty i do, latest version
Adam Argyle
@argyleink
Apr 01 2015 17:09
Screen Shot 2015-04-01 at 10.09.17 AM.png
maybe it's because i use NVM to manage my node versions? hmmm, not sure. still can't get a new project to start.
John-Henry Liberty
@jhliberty
Apr 01 2015 17:33
I use nvm and no probs
Adam Argyle
@argyleink
Apr 01 2015 17:37
i'm still researching this, not sure what's up
other projects npm install fine, etc
i just completely removed roots and am reinstalling
aaaand still failed. man, not sure what's going on here.
i've had a few of the older builds of roots on this machine, maybe i need to go sweep them up?
older builds includes this new release while it was a wip
Ed Holzwarth
@eholzwarth
Apr 01 2015 17:48
@permadesign I'm interested in the same evaluation of options for best CMS w/ api support & easy structured data. Wish Craft CMS had better API support out of the box. Roots doesn't care what CMS you use - you can use whichever works best for you. According to the internet discussion I have the impression Contentful is more client friendly than Prismic.io.
Ed Holzwarth
@eholzwarth
Apr 01 2015 17:54
@jenius I have a related question -- do you know of a good example of a site with JSON API content? Like what you show in the Hybrid Static and APIs video? May have missed it but don't think any of the sites in http://roots.cx/articles/built-with-roots show demonstrate the API. The Mojotech "source" link is broken - would love to see that because also interested in how to implement the entire site's content loaded up front like they have. Any tips?
Matt Rossi
@mordecai174
Apr 01 2015 18:32
@eholzwarth did you happen to look at the video @samccone had made for MojoTech?
Ed Holzwarth
@eholzwarth
Apr 01 2015 19:14
@mordecai174 yes, thanks - great for concept but I would like to understand the details & code, and so example would be ideal
Adam Argyle
@argyleink
Apr 01 2015 19:18
@jhliberty does my issue look like a cli issue or an issue with my machine? it looks like this command is the problem argv "node" "/Users/aargyle/.nvm/versions/node/v0.12.2/bin/npm" "install". Either that or npm really does have an issue with the package.json file and is blocking the reading of deps... i'm so sad!
Adam Argyle
@argyleink
Apr 01 2015 21:58
Screen Shot 2015-04-01 at 2.57.23 PM.png
that expected installation console output?
Perry Kibler
@javaporter
Apr 01 2015 22:56

@permadesign I've used prismic on a couple sites and am starting my first site with contentful. The documentation on prismic isn't great, and it seems like contentful has more traction right now. Contentful also seems a lot more proactive about growing. One of my concerns about contentful is the price though, $50/mo for over 1K entries is (in my opinion) a really bad price point. I don't mind paying $20 or so, but they jump from free to spendy. That aside, a lot of my clients are under 1000 posts, and contentful seems easier so far. Part of the reason I'm trying roots is because it works with contentful pretty much out of the box. I have a test repo up and running with contentful if you want an example: git@github.com:unleashedcreative/roots.git

If you update to roots 3.0.2 though, my test repo blows up. I haven't had the time/desire to figure out why and am just staying on 3.0.1

does anyone have a working example of using scss and js out of a bower folder? My folder structure:
- assets
  -- css
  -- js
  -- bower
     -- foundation js and css (and stuff)
# app.coffee
css_pipeline(manifest: 'assets/css/manifest.yml')
# manifest
- ../bower/foundation/scss/*
- app.scss
Perry Kibler
@javaporter
Apr 01 2015 23:43

I've also tried:

    css_pipeline(files: ['assets/bower/foundation/scss/foundation.scss', 'assets/css/app.scss']),

which should work (but doesn't), terminal is giving no errors, it seems to be compiling, but with the above example, nothing compiles, not even the app.scss file. If I do this, it does work:

    css_pipeline(files: [ 'assets/css/app.scss']),