Skip to content

Commit aaa4f61

Browse files
author
Konstantin Dinev
authored
Merge pull request #45 from skrustev/update-repo
Add Readme information on how to run the samples locally. Add a command for that.
2 parents 6197b9f + 76c822e commit aaa4f61

2 files changed

Lines changed: 31 additions & 11 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
11
# Ignite UI Help samples
2+
3+
## Running the samples locally
4+
5+
1. Install all dependencies:
6+
7+
```
8+
npm install
9+
```
10+
11+
2. Build the samples specifying what version to build and the source folder for it as arguments:
12+
13+
14+
```
15+
npm run build -- --version 17.1 --ignite-ui http://localhost/ig_ui17.1
16+
```
17+
18+
3. The built samples will be located under the ./dist folder.

package.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
{
22
"name": "help-samples-src",
33
"version": "0.0.1",
4-
"description": "",
5-
"devDependencies": {
6-
"cheerio": "^0.22.0",
7-
"gulp": "^3.9.1",
8-
"gulp-util": "^3.0.8",
9-
"through2": "^2.0.3"
10-
},
4+
"description": "help samples",
5+
"license": "MIT",
6+
"homepage": "https://github.com/IgniteUI/help-samples-src#readme",
117
"repository": {
128
"type": "git",
139
"url": "git+https://github.com/IgniteUI/help-samples-src.git"
1410
},
11+
"bugs": {
12+
"url": "https://github.com/IgniteUI/help-samples-src/issues"
13+
},
1514
"keywords": [
1615
"Ignite",
1716
"UI",
1817
"samples",
1918
"help",
2019
"docs"
2120
],
22-
"license": "MIT",
23-
"bugs": {
24-
"url": "https://github.com/IgniteUI/help-samples-src/issues"
21+
"devDependencies": {
22+
"cheerio": "^0.22.0",
23+
"gulp": "^3.9.1",
24+
"gulp-util": "^3.0.8",
25+
"through2": "^2.0.3"
2526
},
26-
"homepage": "https://github.com/IgniteUI/help-samples-src#readme"
27+
"scripts": {
28+
"build": "gulp build-samples"
29+
}
2730
}

0 commit comments

Comments
 (0)