Open v0lkan opened 11 years ago
Alchohol is not good.
Jokes, aside scotch is a great framework.
And I'm kinda piggybacking on a bunch of scotch methods just to quickly create content, and then never run the scotch server at all.
So ideally, I should copy part of scotch CLI to
so node . --add <title> <markdown> will behave identical to creating a new blog post.
node . --add <title> <markdown>
This way instead of running a scotch server, I can just create a plain text file; and when I'm done with that plain text file, I can publish it.
I can even remove mongodb dependency, however I have to replicate stuff in the mongodb just in case I'd like to run full text searches on the content.
or maybe use grunt for that.
Alchohol is not good.
Jokes, aside scotch is a great framework.
And I'm kinda piggybacking on a bunch of scotch methods just to quickly create content, and then never run the scotch server at all.
So ideally, I should copy part of scotch CLI to
so
node . --add <title> <markdown>
will behave identical to creating a new blog post.This way instead of running a scotch server, I can just create a plain text file; and when I'm done with that plain text file, I can publish it.
I can even remove mongodb dependency, however I have to replicate stuff in the mongodb just in case I'd like to run full text searches on the content.