Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.

Commit

Permalink
Removes deprecated script and cleans up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-miller-0 committed Mar 4, 2021
1 parent 9ce703d commit 00475e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tail -f <LOG_DEST>

### Running with Docker

> **NOTE**: The Docker scripts are written using the default ports (specified in `config.js`: 1883 for MQTT, 3000 for http). If you want to change these ports, please also update the `Dockerfile` and the `start-docker` script in `package.json`.
> **NOTE**: The Docker scripts are written using the default ports (specified in `config.js`: 1883 for MQTT, 3000 for http). If you want to change these ports, please also update the `Dockerfile` and the `docker-run` script in `package.json`.
You can also build and run this module locally with Docker:

Expand Down Expand Up @@ -186,7 +186,7 @@ The ports your connector will use are listed in `config.js`. Their defaults are:
* MQTT: 1883
* http: 3000

You are welcome to change these, but be aware of the changes on the requester side. Also, if you are running Docker, you will need to update your `Dockerfile` and `start-docker` npm script (i.e. in `package.json`).
You are welcome to change these, but be aware of the changes on the requester side. Also, if you are running Docker, you will need to update your `Dockerfile` and `docker-run` npm script (i.e. in `package.json`).

### Make sure your Lattice is connected to the internet

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
"build": "babel src -d dist",
"lint": "eslint src",
"start": "npx pm2 start dist/index.js --name lattice-connect --watch",
"start-docker": "node dist/index.js",
"stop": "npx pm2 stop lattice-connect",
"rm": "npx pm2 delete lattice-connect && pkill node",
"logs": "npx pm2 logs lattice-connect",
"test": "mocha --timeout 180000 test/integration.js",
"docker-build": "docker build -t lattice-connect:1.0 .",
"docker-build": "npm run build && docker build -t lattice-connect:1.0 .",
"docker-run": "docker run -d --name lattice-connect -p 3000:3000 -p 1883:1883 lattice-connect:1.0"
},
"repository": {
Expand Down

0 comments on commit 00475e4

Please sign in to comment.