Skip to content

Commit ade43d9

Browse files
committed
Update readme
1 parent 8245af3 commit ade43d9

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

‎readme.md‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ API reference with usage examples available <a href="https://mgechev.github.io/j
1212

1313
Call:
1414

15-
```Bash
15+
```bash
1616
npm install
1717
```
1818

1919
**To setup repository with documentation**
2020

2121
1) go to the parent directory of the `javascript-algorithms` folder and call:
2222

23-
```Bash
23+
```bash
2424
git clone git@github.com:mgechev/javascript-algorithms.git javascript-algorithms-docs
2525
```
2626

2727
2) go to the `javascript-algorithms-docs` folder and change current branch to `gh-pages`:
2828

29-
```Bash
29+
```bash
3030
git checkout gh-pages
3131
```
3232

@@ -36,18 +36,24 @@ Now you can see `index.html` file in this folder and open it in your browser.
3636

3737
Go to the `javascript-algorithms` folder and call:
3838

39-
```Bash
39+
```bash
4040
gulp jsdoc
4141
```
4242

4343
and all files in `javascript-algorithms-docs` folder will be updated.
4444

4545
**To run tests**
4646

47+
You should install `jasmine-node`:
48+
49+
```bash
50+
npm install -g jasmine-node
51+
```
52+
4753
Call:
4854

49-
```Bash
50-
./node_modules/jasmine-node/bin/jasmine-node test/
55+
```bash
56+
jasmine-node test/
5157
```
5258

5359
and all `*.spec.js` files will be executed.

0 commit comments

Comments
 (0)