> That said, I happen to think that just about everyone could benefit
> from getting comfortable with git, and once you do you will find
> pulling from git to be more natural and time-saving. I suggest making
> that move.
I've fiddled with git at the command line a bit, but for now, I'll likely use GitHub for Mac (a git GUI) for pulling from GitHub.
>> 2. Related to the first question, I have been tinkering with a custom
>> theme, and I'm wondering what the best way to get the updated versions of
>> deck.js while preserving my template.
>
> No matter how you keep deck.js updated, it's usually good practice to
> keep vendor libraries in a separate location from your own code. For
> the sake of this discussion, let's say your stuff is located in /
> project-folder/lib/ and deck.js is located in /project-folder/vendor/
> deck.js/.
>
> Again, you could download deck.js each time and put it there, or you
> could use git to manage the deck.js folder. But if you're using git
> to manage the whole project-folder, the ideal would be to add deck.js
> as a git submodule. A Google search for git submodules might be your
> best bet on learning how to manage submodules. The Git Book entry
> (http://book.git-scm.com/5_submodules.html) might be a little daunting
> as the examples are contrived and aren't great for beginners. Chris
> Jean's post (http://chrisjean.com/2009/04/20/git-submodules-adding-
> using-removing-and-updating/) is much better.
At some point I'll have to figure out how to do this, but at the moment I don't have the bandwidth to learn what I need to.
>> 3. There are a lot of files and folders. I'm guessing that I don't need
>> all of them. What's a minimum set of files that I need to use deck.js?
>
> Here are the bare, bare minimum set of files needed:
>
> - jQuery (jquery.1.7.min.js in the repo at this time)
> - Modernizr (modernizr.custom.js)
> - An html file to hold your slides
> - /core/deck.core.css
> - /core/deck.core.js
From my experiments, it looks like if I keep the "extensions" and "themes" folders, as well as the jQuery files, everything works. In particular, it looks like I can skip uploading "test" and "core" to my webpage. Is that correct?
Thanks for all the help. It is very much appreciated. I'm enjoying writing slides for some of my talks with deck.js.
Dana
There's no way you can drop the core directory. Nothing will work
without deck.core.js.
> I imagine your browser is caching the files locally even though they
> are gone. Try clearing your cache and you should see what I see:
> http://screencast.com/t/ebr8usHpv0Zl
Doh! Thanks.
Dana