javiereguiluz / easybook-examples

Showcase of the books and documents that you can create with easybook
http://easybook-project.org
10 stars 3 forks source link

easybook slug doesn't match #1

Open warrenharris opened 12 years ago

warrenharris commented 12 years ago

I'm trying out easybook for the first time, and would like to see some examples first. I tried the instructions in your easybook-examples/README.md, but they don't seem to work. First, the instructions say:

... You can now publish any of the sample books:

$ cd easybook $ ./book publish easybook web --dir=../docs/tech_book $ ./book publish easybook website --dir=../docs/tech_book $ ./book publish easybook print --dir=../docs/tech_book

but there is no easybook directory at this level (we're already in it), and docs exists at this level, not one level up. Also tech_book seems to be renamed tech_book_default. But even after fixing this up I still fail:

$ ./book publish easybook web --dir=./docs/tech_bookdefault PHP Deprecated: /Users/warrenharris/projects/easybook/vendor/.composer/autoload.php is deprecated, please use vendor/autoload.php or vendor/composer/autoload* instead See https://groups.google.com/forum/#!msg/composer-dev/fWIs3KocwoA/nU3aLko9LhQJ for details in /Users/warrenharris/projects/easybook/vendor/.composer/autoload.php on line 3

                 |              |    

,---.,---.,---., .|---.,---.,---.|__/ |---',---|---.| || || || || \ ---'---^---'---|---'---'---'` ---'

ERROR The given easybook slug doesn't match any book in /Users/warrenharris/projects/easybook/docs/tech_book_default/ directory

Please, type the slug of the book (e.g. the-origin-of-species)

Sorry, but I don't know what a slug is at this point.

warrenharris commented 12 years ago

BTW, it would be really cool if you could just publish the examples somewhere on http://easybook-project.org/. That would let us see the formatting.