The Cookbook Source is released into the wild
20 Nov 2008
It's been a long time coming, but we finally got around to creating a publicly visible repository for the Cookbook's source code. This seems like worthy news to (re)commence blogging again after my extended silence.
Where is it? it's hosted on The Chaw, and here's the direct link.
Enjoy.
Andy
Josè Lorenzo Rdordriguez, on 20/11/08
OMG, finally it's open! I'm really happy. You can expect some patches from me soon if you need help.
I will start using it for documenting a project:
http://www.ohloh.net/projects/osmosis
Cheers!
rafaelbandeira3, on 20/11/08
That's a nice news. I've only got one question: although I found thechaw pretty neat, is there a reason for not hosting it at github?
Gustavo Carreno, on 20/11/08
First off, thanks!!
Second I'm not able to get the source since it's asking for an ssh key and I haven't got one.
Third: I registered myself on thechaw and it picked up my avatar image instantly... HOW THE HECK you did that???
Cheers,
Gus
Gustavo Carreno, on 20/11/08
On the third:
Hummm, probably because you probed gravatar... NICE !!!
Cheers,
Gus
Gustavo Carreno, on 20/11/08
To who it may concern:
To get at the source you have to:
1) use ssh-keygen to generate your public key.
2) use the generated key and add it to your account details on thechaw.
3) Fork the project.
4) use git clone on the forked project.
This is how I did it. Probably not the right way but it got the job done.
Cheers,
Gus
Andy, on 20/11/08
Hey Gustavo,
You shouldn't need to fork to clone.
Regarding the chaw - expect some news from Gwoo some time soon. I have unwittingly let slip something that I thought was public, but wasn't :).
Andy
Wilson, on 20/11/08
Hi Andy,
My SVN credentials are blocked for the repo. Is there more to it, then registering and dropping a public key in? I'm using svn+ssh
Can't wait to see the Cookbook.
Thanks so much,
Wilson
Andy, on 21/11/08
Hi Wilson,
I don't know - but it's a git repo, not svn.
You'd be best to follow the advice on thechaw's home page if you're having problems especially as I'm not directly invovled in its development ;)
AD
Gustavo Carreno, on 21/11/08
Hey Andy,
Probably not, but I was getting access denied on the main project and got it right away on the forked one.
That's why I commented that I was probably doing something wrong but really didn't know what...
Cheers,
Gus
Bakyt NIyazov, on 21/11/08
Andy,
thank you very much for sharing!!
I'm reading the code and it's really very good. I'm learning a lot from the code!!!
You're great! :)
Nasko, on 21/11/08
airgap, on 29/11/08
Andy, on 29/11/08
Airgap,
I'll pretend that you know having read the readme that you don't need the bakery code. If you still have a doubt I'd suggest google/the irc channel.
Happy baking,
AD
airgap, on 2/12/08
Hi Andy,
I did check the read me before I posted, and I agree you don't *need* the bakery code, however, the functionality is limited without it (ie how do you add add/manage a user).
It would appear my suggestion seems to be misunderstood so I'll just go search google/irc.
Thanks anyway.
, on 11/4/09
, on 13/4/09
greg, on 15/4/09
Thanks for your work on the Cakebook. I am working on using it for the base of a policies and procedures application.
I'm currently trying to figure out the exact purpose of the "attachments". I was expecting to be able attach files and have them appear when looking at a related node. Other than the "edit" view of the node, I don't see any reference to attachments in any of the node views.
Am I misunderstanding the purpose of attachments?
Thanks
Andy, on 16/4/09
Hi Greg,
Attachments are not actively used in the cookbook, and the code related to attachments is more or less obsolete. It's just the upload mechanism.
But anyway, if you browse to /admin/attachments/add/node/123 you should be able to upload a file/image which you'd then see available to you when editing node 123. There's not much magic to it though, and any upload solution is likely to outdo what it offers.
Find me on freenode #cakephp-docs if you have any problems or questions regarding the cakebook application.
Cheers,
AD
Merchant, on 2/6/09