Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.
/ platform Public archive

Configs & Flows for petification droplet

Notifications You must be signed in to change notification settings

petification/platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petification/Platform

Configs, Shell-scripts, NodeRED-Flows

Index

Global

manage.sh

  • Global management
  1. Show Mosquitto, NodeRED running status(port num)
./manage.sh --status

Mosquitto

  • broker.conf : Mosquitto configuration file with brief description.
  • broker.acl : Mosquitto ACL Authorize configuration with brief description.

export.sh

  • Export configuration file to desired path.
  1. Export Config
./export.sh --conf
  1. Export ACL
./export.sh --acl

manage.sh

  • Start, stop and log broker process.
  1. Start Broker
./manage.sh --up
  1. Stop Broker
./manage.sh --down
  1. Show Log
./manage.sh --log

user.sh

  • Managing MQTT security setting (user)
  1. Add user
./user.sh --new
  1. Show all users
./user.sh --all

MySQL

  • MySQL sql file for creating table scheme

NodeRED

export.sh

  • Export NodeRED flows & settings.
  1. Export settings.js from repository -> to ~/.node-red
./export.sh --settings
  1. Export flows.js from repository -> to ~/.node-red
./export.sh --flows

import.sh

  • Import NodeRED flows & settings.
  1. Import settings.js from ~/.node-red -> to repository
./import.sh --settings
  1. Import flows.js from ~/.node-red -> to repository
./import.sh --flows

manage.sh

  • Start, stop and log NodeRED process
  1. Start NodeRED
./manage.sh --up
  1. Stop NodeRED
./manage.sh --down
  1. Show log
./manage.sh --log
  1. Show changes
./manage.sh --diff-flows