Hi Thomas, The Notebook setup was really simple. What I did was to make everyone start their Notebook and set a title. Then I took a minute to open Github, create a new repo, set up my remotes and add/commit/push the Notebook in front of them. I told them I’d update it periodically and to remind me if I forgot. I had a one line terminal at the bottom of the screen (which they don’t see anyway because of the room configuration) and every now and then, I did a new git commit/push.
I then gave them the link to the Notebook on Github in the Etherpad. Github now render Notebooks so it’s very useful for the students if they want to follow along and I’m typing too fast. I got a couple of really good comments about that on my green post-its :) One good thing about this, I think, was to actually use the git commands we saw on the previous day. It was a quick refresher and a couple of students did the same (publish their Notebook). At the end, I published the « final » notebook to the training git repo and updated the link in the Etherpad so students could use it later. I remember someone on this list already had that kind of setup and even used a cron job to commit/push. I did not find it was necessary but it’s another option if you don’t want to remember doing it manually all the time. Cheers, Laurent > Le 9 nov. 2015 à 15:35, Thomas Guignard <[email protected]> a écrit : > > Salut Maxime > > Thanks for sharing. I've added this setup to the list of topics to be > discussed at the Saturday instructor retreat in Toronto so we can play around > a little. > Care to elaborate on the github/notebook setup? > > Merci, > Thomas > > On Fri, Nov 6, 2015 at 3:58 PM, Maxime Boissonneault > <[email protected] > <mailto:[email protected]>> wrote: > Hi, > A collegue of mine used github, with an automatic synchronization, to send a > Python notebook to github, so that attendees can catch up if they got stuck > somewhere in the training. > > I wanted to do the same thing for Bash and git, which do not have the luxury > of having a notebook. > > I came up with a solution that works rather well, and which I want to share. > The required scripts are here : > https://github.com/mboisson/recording-script > <https://github.com/mboisson/recording-script> > > If you want to see the result, it looks like this : > http://mboisson.github.io/testing/bash_lesson.html#end > <http://mboisson.github.io/testing/bash_lesson.html#end> > > To install : > 0) On Mac, install gsed, gawk and core-utils using brew (Because the tools > provided by Mac are not GNU). > 1) Clone the repository above, and add it to your PATH. > > To use : > recordsession.sh [email protected] <mailto:[email protected]>:<user>/<repo>.git > <filename> [delay] > > For example, the above .html was recorded using the command > recordsession.sh [email protected]:mboisson/testing.git > <mailto:[email protected]:mboisson/testing.git> bash_lesson 10 > > * The script pushes from the gh-pages branch, and creates one if it does not > exist. I have used it with SWC event pages. > * The delay is in seconds, and there is a default delay of 60 seconds between > each sync. > * This script assumes that your github is configured to use SSH keys. > * The script uses a modified version of ansi2html.sh, which I got from > herehttp://github.com/pixelb/scripts/commits/master/scripts/ansi2html.sh > <http://github.com/pixelb/scripts/commits/master/scripts/ansi2html.sh> > > I hope this can be useful to someone else! > > > -- > --------------------------------- > Maxime Boissonneault > Analyste de calcul - Calcul Québec, Université Laval > Président - Comité de coordination du soutien à la recherche de Calcul Québec > Team lead - Research Support National Team, Compute Canada > Instructeur Software Carpentry > Ph. D. en physique > > _______________________________________________ > Discuss mailing list > [email protected] > <mailto:[email protected]> > http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org > > <http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org> > > _______________________________________________ > Discuss mailing list > [email protected] > http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
_______________________________________________ Discuss mailing list [email protected] http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
