LearnBoost/stylus — Issue #481: "proper" documentation
Author: muszek
Created: 2011-12-05 16:31:18+00:00
State: open

I'm here, so I guess stylus went beyond the early-adopter crowd. And it's not very easy to get started.

```
npm install stylus
```
is a bit too little for an installation howto.

How am I supposed to run it? Include some js file and my_style.styl as a stylesheet (like less.js does)? Or maybe via node listening on some port? I have absolutely no clue... I'm not expecting you to answer these questions here... just pointing out that it's way to hard to jump into. If it's supposed to be a tool for people who just want to write CSS in a comfortable manner, you can't expect them to be familiar with all these technologies. Connect, Express... seriously, I don't even know IF I'm supposed to use the latter two.

I did it by writing a PHP script that calls "stylus < filename.styl" and echoes the output and writes to filename.css (for the production site) if successful and prints out a simple CSS that has body:before { content: $stylus_error_message }. I imagine it's probably far from being a proper way :)