• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

node-red/flow-library: Node-RED Flow Library

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

node-red/flow-library

开源软件地址(OpenSource Url):

https://github.com/node-red/flow-library

开源编程语言(OpenSource Language):

JavaScript 51.1%

开源软件介绍(OpenSource Introduction):

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:8080 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 flow-library_node_1 node tasks/update-one.js node-red-dashboard

Configuration

PORT NR_GITHUB_CLIENTID NR_GITHUB_SECRET NR_GITHUB_CALLBACK NR_GITHUB_ACCESSTOKEN NR_MONGO_URL NR_SESSION_KEY NR_SESSION_SECRET NR_ADMINS NR_TWITTER_CONSUMER_KEY NR_TWITTER_CONSUMER_SECRET NR_TWITTER_ACCESS_TOKEN_KEY NR_TWITTER_ACCESS_TOKEN_SECRET NR_SLACK_WEBHOOK NR_MODULE_BLOCKLIST NR_AWS_BUCKET NR_AWS_ACCESS_KEY_ID NR_AWS_SECRET_ACCESS_KEY NR_AWS_REGION




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap