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
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ Comments plugin for [SourceJS](http://sourcejs.com) for commenting Spec examples
5
5
6
6

7
7
8
+
Compatible with SourceJS v.0.5.6+.
9
+
8
10
___
9
11
10
12
To install, run npm in `sourcejs/user` folder:
@@ -13,11 +15,11 @@ To install, run npm in `sourcejs/user` folder:
13
15
npm install sourcejs-comments --save
14
16
```
15
17
16
-
Then run Grunt update in SourceJS root:
18
+
Then run build command in SourceJS root:
17
19
18
20
```
19
21
cd sourcejs
20
-
grunt update
22
+
npm run build
21
23
```
22
24
23
25
After installation, all your Specs pages will have "Add description" tumbler in inner menu, that will active the plugin.
@@ -28,7 +30,7 @@ After installation, all your Specs pages will have "Add description" tumbler in
28
30
29
31
As [MongoDB](http://www.mongodb.org/) is not essential dependency for SourceJS, you must install it separately, to work with plugins that expect data storage.
30
32
31
-
[Install it](http://docs.mongodb.org/manual/installation/), run locally or remotely and configure your SourceJS in `sourcejs/user/options.js`:
33
+
[Install MongoDB locally](http://docs.mongodb.org/manual/installation/) or get it from [MongoLab](https://mongolab.com) and configure your SourceJS in `sourcejs/user/options.js`:
32
34
33
35
```json
34
36
core: {
@@ -72,6 +74,6 @@ mongoose.connect(dbAdress);
72
74
/* /Connect to DB */
73
75
```
74
76
75
-
___
77
+
## Legacy versions
76
78
77
-
Compatible with SourceJS v0.4+, for v0.3.* use [previous release](https://github.com/sourcejs/sourcejs-comments/archive/v0.0.9.zip).
79
+
For SourceJS v0.3.* use older plugin version [0.0.x](https://github.com/sourcejs/sourcejs-comments/archive/v0.0.9.zip).
0 commit comments