Merge pull request #1571 from adius/patch-1

Simplify full setup
This commit is contained in:
Hakim El Hattab 2016-04-29 09:26:28 +02:00
commit 3d49b1dea3
1 changed files with 7 additions and 9 deletions

View File

@ -1063,31 +1063,29 @@ Some reveal.js features, like external Markdown and speaker notes, require that
1. Install [Node.js](http://nodejs.org/) (1.0.0 or later) 1. Install [Node.js](http://nodejs.org/) (1.0.0 or later)
2. Install [Grunt](http://gruntjs.com/getting-started#installing-the-cli) 1. Clone the reveal.js repository
4. Clone the reveal.js repository
```sh ```sh
$ git clone https://github.com/hakimel/reveal.js.git $ git clone https://github.com/hakimel/reveal.js.git
``` ```
5. Navigate to the reveal.js folder 1. Navigate to the reveal.js folder
```sh ```sh
$ cd reveal.js $ cd reveal.js
``` ```
6. Install dependencies 1. Install dependencies
```sh ```sh
$ npm install $ npm install
``` ```
7. Serve the presentation and monitor source files for changes 1. Serve the presentation and monitor source files for changes
```sh ```sh
$ grunt serve $ npm start
``` ```
8. Open <http://localhost:8000> to view your presentation 1. Open <http://localhost:8000> to view your presentation
You can change the port by using `grunt serve --port 8001`. You can change the port by using `npm start -- --port 8001`.
### Folder Structure ### Folder Structure