Skip to content

Commit

Permalink
Switch to version 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weswit-team committed Nov 20, 2019
1 parent a6700f5 commit 59f9dcf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -213,3 +213,4 @@ pip-log.txt

#Mr Developer
.mr.developer.cfg
/node_modules/
10 changes: 3 additions & 7 deletions README.md
Expand Up @@ -18,21 +18,17 @@ In particular, this readme file details the steps required to execute the demo c
* Note that, as prerequisite, the [Lightstreamer - Stock- List Demo - Java Adapter](https://github.com/Lightstreamer/Lightstreamer-example-Stocklist-adapter-java) has to be deployed on your local Lightstreamer Server instance. Please check out that project and follow the installation instructions provided with it.
* Launch Lightstreamer Server.
* Go to [http://nodejs.org/](http://nodejs.org/) or use the package manager of your OS to download and install the appropriate Node.js server on your system.
* Get the `lightstreamer-client` package using npm
* `npm install lightstreamer-client`
* Get the `lightstreamer-client-node` package using npm
* `npm install lightstreamer-client-node`
or from the root folder of this project simply run
* `npm install
* `npm install`

<!-- END DESCRIPTION lightstreamer-example-stocklist-client-node -->

You can now run the included example. From the root folder of this project run
```sh
node src/index.js
```
or
```sh
iojs src/index.js
```

The application is configured to connect to http://localhost:8080. You can modify `src/index.js` to connect to the correct host:port of your Lightstreamer server.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -32,6 +32,6 @@
"node"
],
"dependencies": {
"lightstreamer-client": ">=6.2.3"
"lightstreamer-client-node": ">=8.0.0"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

var ls = require('lightstreamer-client');
var ls = require('lightstreamer-client-node');


var myClient = new ls.LightstreamerClient("http://localhost:8080","DEMO");
Expand Down

0 comments on commit 59f9dcf

Please sign in to comment.