linemanjs / lineman-docs

Documentation for linemanjs.com
MIT License
3 stars 7 forks source link

Lineman plus rails #13

Closed searls closed 10 years ago

searls commented 10 years ago

NOT READY TO MERGE

This PR will be used to take a stab at lineman-plus-rails #5.

Just pushing this initial setup to give @DerekBriggs a place to get started.

Derek, I realize the repository is a tad bit cramped, but hopefully you can make-do with the paths:

You'll see that bourbon is already imported and the basic HTML wrapper is in place. Apologies that the repo doesn't have jade templates for your Slim-loving self.

searls commented 10 years ago

@DerekBriggs, note that you're going to probably get more default styling than you bargained for because of the nonsense being done inside of:

https://github.com/testdouble/lineman-docs/blob/lineman-plus-rails/app/css/lineman.sass https://github.com/testdouble/lineman-docs/blob/lineman-plus-rails/vendor/css/general.sass

If either of these cause you problems, just tuck the rule declarations (and their media query counterparts!) under html.td or body.td (the main site wrapper now has those classes on it)

searls commented 10 years ago

Not sure how you want to illustrate the hero stuff on top (specifically the heart), but the illustration style of my lineman talk can be perused here on speakerdeck: https://speakerdeck.com/searls/1st-class-web-development-with-lineman?slide=6

searls commented 10 years ago

Because Lineman loves you, @DerekBriggs, how to run the repo:

  1. Install latest Node
  2. run sudo npm install -g lineman
  3. git clone this repo and branch & cd into it
  4. run npm install
  5. run lineman run
  6. verify it all works at localhost:8000