首页 > 代码库 > 网页版PPT快速安装指南

网页版PPT快速安装指南

 

https://github.com/hakimel/reveal.js#installation

 

1.install Node.js

brew install nodejs

  

2. install Grunt

http://gruntjs.com/getting-started#installing-the-cli

npm install -g grunt-clinpm install grunt --save-dev

 

 

 

3. Clone the reveal.js repository

 

$ git clone https://github.com/hakimel/reveal.js.git

 

 

 

4.Navigate to the reveal.js folder

 

$ cd reveal.js

 

 

 

5.Install dependencies

 

$ npm install

 

 

 

6.Serve the presentation and monitor source files for changes

 

$ grunt serve

 

 

 

7.Open http://localhost:8000 to view your presentation

You can change the port by using grunt serve --port 8001.