Skip to content

SenseTecnic/flow-library

This branch is 251 commits behind node-red/flow-library:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 29, 2017
Nov 26, 2017
Mar 4, 2018
Mar 14, 2018
Mar 13, 2018
Jan 15, 2018
Mar 14, 2018
Jan 15, 2018
Nov 26, 2017
Nov 26, 2017
Nov 26, 2017
Sep 30, 2016
Feb 6, 2018
Feb 17, 2018
Feb 20, 2018
Dec 20, 2017
Jan 15, 2018

Repository files navigation

Node-RED Library

This is the source of the application behind http://flows.nodered.org.

It provides a searchable index of user-contributed flows as well as node packages published to npm.

Running a development copy

This repo comes with a docker-compose based development environment. To get started:

  1. Install docker

  2. Configure your flow-library settings.

    The repository includes the file default-settings.js. You should copy that to settings.js and update it with your various api keys. Do not check this file back into git - it has already been added to .gitignore to prevent this.

  3. Run:

     npm run docker
    

    This first time you run this will take a while as it downloads various pieces. When it completes, you will be able to access http://localhost:7000 to see the flow library.

The docker image uses nodemon to watch for changes to the source code and automatically restart the app when needed - without having to restart docker.

Add nodes

To test you will want to add a few nodes to the database. To do so, use the update-one task. For example.

node tasks/update-one.js node-red-dashboard

or in the docker container running the application

docker exec -it flowlibrary_node_1 node tasks/update-one.js node-red-dashboard

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.3%
  • HTML 18.3%
  • CSS 13.4%