You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup git daemon allowing anonymous clone and push behind a firewall
Git server behind a firewall
It is handy to be able to quickly create a git repo server with anonymous clone and push access rights. Note: Anyone!! with access to the server will be able to clone and push to the repo
Is super handy for personal use, in-house networks, or networks behind a firewall where security
is less of an issue.
Server side
Create common repo directory
Create the server git directory
Create a test repo
Bring up the git server daemon
Currently, nodes developed under node-red do not have a system of test verification - such as mocha, jasmine, etc. The best that can be done at this time, is to build a node-red test suite of flows that test the modifications. No updates will be accepted by PotOfCoffee2Go without a set of accompanying node-red flows which test the changes.
The reviewers will integrate the flows into what will become a standard set of test flows to be approved by the maintainers of the official production release of node-red-contrib-alasqlAlaSQL,
Quick express server middleware to convert .md files to .html page
// app.js or where-ever 'app' and 'express' vars are assignedconstfs=require('fs-extra'),path=require('path'),marked=require('marked');// Web site is in ./www from this js fileconstcommonSiteDir=__dirname+'/www';
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters