09 May 2015

installation

  1. basic setup

    1. download the latest version of reveal.js

    2. unzip and replace index.html with your own

    3. open index.html in a browser to view it

  2. full setup

    1. install node.js download node-v0.12.2.pkg

    2. install grunt

       $ sudo npm update -g npm
      
       $ sudo npm install -g grunt-cli
       Password:
       /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
       grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli
       ├── resolve@0.3.1
       ├── nopt@1.0.10 (abbrev@1.0.5)
       └── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)
      
    3. clone reveal.js repo

       $ git clone https://github.com/hakimel/reveal.js.git
       Cloning into 'reveal.js'...
       remote: Counting objects: 7619, done.
       remote: Compressing objects: 100% (4/4), done.
       remote: Total 7619 (delta 3), reused 2 (delta 2), pack-reused 7612
       Receiving objects: 100% (7619/7619), 5.53 MiB | 17.00 KiB/s, done.
       Resolving deltas: 100% (4016/4016), done.
       Checking connectivity... done.
      
    4. navigate to reveal.js folder

       $ cd reveal.js
      
    5. install dependencies

       $ npm install
      
       > node-sass@0.9.6 install /Users/hqlgree2/Documents/github/reveal.js/node_modules/node-sass
       > node build.js
      
       child_process: customFds option is deprecated, use stdio instead.
      
    6. serve the presentation and monitor source files for changes

       $ grunt serve
      
    7. open http://localhost:8000 to view your presentation

       # you can change port by using
       $ grunt serve --port 8080
      

demo



blog comments powered by Disqus