hmans / schnitzelpress

A lean, mean blogging machine for hackers and fools.
http://schnitzelpress.org
MIT License
77 stars 8 forks source link

The generated SchnitzelPress blog need not be tracked by git. Also, an updated README. #18

Closed kristallizer closed 12 years ago

kristallizer commented 12 years ago

Similar to Jekyll (which places the generated site in a directory named _site), the generated SchnitzelPress blog can be placed in an appropriately named directory (I propose it be named _blog as is reflected in this pull request) instead of the project name, so that git can be told ignore it using a rule in .gitignore.

The README has also been updated based on the installation instructions detailed here by Hendrik.

hmans commented 12 years ago

I'm not entirely clear on the purpose of this pull request. Why would you want to use a subdirectory called _blog? Why would you want to add that directory to .gitignore?

Schreihals does not generate static documents. schreihals create creates a light-weight Rack application that uses the schreihals gem.

Edit: Schreihals was the original name of SchnitzelPress up until a couple of days ago, my muscle memory still mixes those two up. So of course it's the schnitzelpress gem and command.

kristallizer commented 12 years ago

I apparently misunderstood exactly how this works and the fact that gem install schnitzelpress installs schnitzelpress as a global system command, which means that a new project can be created from practically anywhere. I was stuck in a mental model where schnitzelpress works a bit like Jekyll and a new project can only be created from the directory in which I had cloned the schnitzelpress code. :(

Is it possible for you to ignore these changes and just pull in changes related to the README, or shall I issue a new pull request for that?

Just one more thing, as per the steps detailed by you here, I am using schnitzelpress create to create a new project, the schreihals gem is not even installed on my system. Am I missing something?

hmans commented 12 years ago

Sorry about the confusion re Schreihals, it was a typo. I've amended the above comment.

Regarding the README, I would like to keep all installation instructions on the schnitzelpress.org website, but I'm happy to merge the changes to the wording to the Quick Start guide. Generally speaking, the Quick Start guide that is online at the moment is just intended as a quick way to allow adventurous people to get started with SchnitzelPress; there's going to be more and better documentation soon.

Thanks for your feedback!