You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ If you notice some bugs, or need to help finding a better solution in your proce
52
52
[Materials for presentations](https://github.com/sourcejs/pres).
53
53
54
54
## Updates
55
+
* 16.08.15 [0.5.5](https://github.com/sourcejs/Source/releases/tag/0.5.5) and [0.5.5-no-jsdom](https://github.com/sourcejs/Source/releases/tag/0.5.5-no-jsdom) patch release with `<markdown>` tag fix and set of functional tests
55
56
* 15.08.15 [0.5.4](https://github.com/sourcejs/Source/releases/tag/0.5.4) and [0.5.4-no-jsdom](https://github.com/sourcejs/Source/releases/tag/0.5.4-no-jsdom) with middleware loader, relative paths in navigation support and other improvements
56
57
* 28.05.15 [0.5.3](https://github.com/sourcejs/Source/releases/tag/0.5.3) context options support, source-as-npm package, CI integration, watcher stability improvements and other great features
57
58
* 28.05.15 [0.5.3-no-jsdom](https://github.com/sourcejs/Source/releases/tag/0.5.3-no-jsdom) special release without JSDom for Windows users
Copy file name to clipboardExpand all lines: docs/base/readme.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ To set-up a new engine instance chose the first option `Init SourceJS in this fo
26
26
To install SourceJS as a NPM package, first clone clean `user` configuration folder and then execute `npm install`.
27
27
28
28
```html
29
-
git clone https://github.com/sourcejs/init.git my-sourcejs && cd my-sourcejs
29
+
git clone https://github.com/sourcejs/init.git -b npm my-sourcejs && cd my-sourcejs
30
30
npm install sourcejs --save
31
-
node ./node_modules/sourcejs/app
31
+
npm start
32
32
```
33
33
34
34
Starting from 0.6.0 we're planning to change official install path to one with NPM packages. Yeoman generator will be also replaced by [sourcejs-cli](https://github.com/sourcejs/sourcejs-cli) with commands like `run`, `install` (plugin), `init`, `create`.
@@ -37,40 +37,40 @@ Starting from 0.6.0 we're planning to change official install path to one with N
37
37
38
38
If you're running Windows and have some issues with [JSDom](https://github.com/tmpvar/jsdom) dependencies compilation, please check this [topic](https://github.com/sourcejs/Source/issues/23).
39
39
40
-
Alternatively with 0.5.4 we prepared a special build without JSDom, until it's full removal from core at 0.6.0.
40
+
Alternatively with 0.5.5 we prepared a special build without JSDom, until it's full removal from core at 0.6.0.
41
41
42
42
```html
43
43
npm install -g yo generator-sourcejs
44
44
mkdir sourcejs && cd sourcejs
45
-
yo sourcejs --branch 0.5.4-no-jsdom
45
+
yo sourcejs --branch 0.5.5-no-jsdom
46
46
```
47
47
48
48
Please note that Clarify feature is not available in `no-jsdom` version. If you had generator installed before, run `npm update -g generator-sourcejs` (v.0.4.2+ required).
49
49
50
50
And installing same build from NPM:
51
51
52
52
```html
53
-
git clone https://github.com/sourcejs/init.git my-sourcejs && cd my-sourcejs
Installation wizard will offer to start SourceJS right after initialization. To run it manually, trigger this command in newly created folder:
62
+
Installation wizard will offer to start SourceJS right after initialization. To run it manually, trigger this command in newly created folder with SourceJS app:
63
63
64
64
```html
65
-
node app
65
+
npm start
66
66
```
67
67
68
-
To set an alternative server port, pass `-p 8081` option.
68
+
To set an alternative server port, pass `-- -p 8081` option.
69
69
70
70
Other configuration arguments are described in the help section:
71
71
72
72
```html
73
-
node app -h
73
+
npm start -- -h
74
74
```
75
75
76
76
### Build
@@ -88,7 +88,7 @@ It will trigger `npm i` and `grunt default` commands for updating dependencies a
88
88
For updating SourceJS to a newer version, just pull the latest changes and trigger build:
0 commit comments