1.0.0-beta.6 • Published 5 years ago

node-red-tekos v1.0.0-beta.6

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

Node-RED-Tekos

this package node-red core updated to use tekos style and nodes, for details about node-red you can visit http://nodered.org

Quick Start

Check out http://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g node-red-tekos
  2. node-red
  3. Open http://localhost:1880

if you want to use the package with login credentials you cen set

$ export FLOW_LOGIN=yourlogin
$ export FLOW_PASSWORD=yourpassword
$ node-red

the source data files are in the same location as node-red /home/user/.node-red where you can find settings.js

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the Node-RED Forum or slack team.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

    git clone git@bitbucket.org:tekos2/node-red-tekos.git
    cd node-red-tekos
  2. Install the node-red dependencies

    npm install
  3. Build the code

    npm run build
  4. Run

    npm start

Update tekos packages

when we update node-red-tekosbot package we need to make sure we build and publish the project. 1. go to package.json and update the packages, don't forget to update the version 2. run $ npm install and $npm run build 3. login to npmjs $ npm login 4. run $ npm publish

Change default styles and settings

to change the default settings you can look at the file inside packages/node_modules/node-red this file has settings.js , the file used at first startup and copied to ~/.node-red/settings.js. to update the style you need to look at packages/node_modules/node-red/assets/tekos.css file

when you update the above files and you had node-red running you need to delete .node-red directory.

Update Auth parameters

The node-red admin auth is based on two environment variables FLOW_LOGIN and FLOW_PASSWORD , you can find the details of how we manage the login inside packages/node_modules/node-red/red.js