Skip to content

sciensa/node-red-contrib-git-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-git-ui

A simple Node-Red git ui.

NodeRed NodeJS StandardJS

Pre-requisites

Requires Node-Red version 0.16.2 or more recent.

Installation

$ npm i -S node-red-contrib-git-ui

Setup

  1. Make sure git is installed and a user with a valid SSH key is already set.
  2. Start Node-Red at the desired user directory (via node-red -u /some/path)
  3. Install the git-ui node from the pallete or via npm install. An empty git repo will be created at the user directory if not already present.
  4. Open the config tab on git-ui and set the SSH URL for the remote repo. Currently only accepts URLs in the format git@<server>:<user>/<repo>.git
  5. Click 'Save and Update'. A 'staging' branch will be created on both local and remote repos if not already present.
  6. Done!

Usage

  1. Make some changes to the flow and deploy them
  2. Open the git-ui tab
  3. Add a commit message
  4. Click on commit

screen shot 2017-06-09 at 7 15 10 am

Development

1. Clone the project
$ git clone https://github.com/sciensa/node-red-contrib-git-ui.git
2. Go to the project directory
$ cd node-red-contrib-git-ui
3. Install the dependencies
$ npm install
4. Link the project
$ npm link
5. Run the node-red and check the node out

Contributing

  1. Follow the Semantic Versioning Specification.
  2. Follow the GitHub Flow.
  3. Follow the 5 Useful Tips For A Better Commit Message article and the How to Write a Git Commit Message post.
  4. Install and use Commitizen.
  5. Bug reports and pull requests are welcome on GitHub.
  6. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The node is available as open source under the terms of the MIT License.