gma / nesta

File Based CMS and Static Site Generator
http://nestacms.com
MIT License
902 stars 120 forks source link

Add nesta server command #157

Closed jkowens closed 9 years ago

jkowens commented 9 years ago

I thought adding a "nesta server" command to start the dev server might be a nice feature. What do you think @gma?

gma commented 9 years ago

On the one hand I'm thinking that people might appreciate not having to think about how to run the server, but on the other I'm thinking that people will learn more if we don't wrap simple stuff like this up. I'm not a fan of rails server for just this reason; I've no idea how it actually hooks Rack into my Rails apps. I am a fan of foreman start though; I'm not after making people type more, just exposing an appropriate amount of how stuff works.

This line of thought made me realise that nesta server doesn't solve a problem people have (as far as I'm aware). All things being equal, less is more.

There's also a risk that people who are new to deploying Rack apps will interpret nesta server to be something they ought to run in production, which would be bad.

Do you agree?

jkowens commented 9 years ago

I'm always looking for ways to think less. :) I do see your your point though. It probably is more important for users to understand the server details and not try to use it in production.

gma commented 9 years ago

Cool. I'll close it…