adjustments to initial node messages #57

edit
Hakim El Hattab 2012-07-09 21:15:01 -04:00
parent d9512172e2
commit afd10f6886
1 changed files with 10 additions and 2 deletions

View File

@ -43,5 +43,13 @@ app.get("/notes/:socketId", function(req, res) {
// Actually listen
app.listen(opts.port || null);
console.log("Open the slides at http://localhost" + (opts.port ? (':' + opts.port) : '') + " and look for a link to the speaker notes in the console");
console.log("Advance through your slides and your notes will advance automatically");
var brown = '\033[33m',
green = '\033[32m',
reset = '\033[0m';
var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' );
console.log( brown + "reveal.js - Slide Notes" + reset );
console.log( "1. Open the slides at " + green + slidesLocation + reset );
console.log( "2. Click on the link your JS console to go to the notes page" );
console.log( "3. Advance through your slides and your notes will advance automatically" );