Skip to content

Instantly share code, notes, and snippets.

@joeartsea
Last active December 2, 2015 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeartsea/8892f73274ce87a072da to your computer and use it in GitHub Desktop.
Save joeartsea/8892f73274ce87a072da to your computer and use it in GitHub Desktop.
Welcome to Node-RED
===================
3 Dec 01:54:33 - [info] Node-RED version: v0.12.1
3 Dec 01:54:33 - [info] Node.js version: v0.12.7
3 Dec 01:54:33 - [info] Loading palette nodes
3 Dec 01:54:34 - [info] Settings file : [これが設定ファイルの場所]
3 Dec 01:54:34 - [info] User directory : [これがユーザディレクトリ]
3 Dec 01:54:34 - [info] Flows file : [これがflow設定ファイルの場所]
3 Dec 01:54:34 - [info] Server now running at http://127.0.0.1:1880/
3 Dec 01:54:34 - [info] Starting flows
3 Dec 01:54:34 - [info] Started flows
3 Dec 01:54:43 - [info] Stopping flows
httpAdminAuth: {user:"admin", pass:"5f4dcc3b5aa765d61d8327deb882cf99"}
msg.payload = context.global.jsforce;
return msg;
node -e "console.log(require('crypto').createHash('md5').update('ここに実際のパスワード文字列を指定','utf8').digest('hex'))"
https: {
key: fs.readFileSync('privatekey.pem'),
cert: fs.readFileSync('certificate.pem')
},
httpNodeCors: {
origin: "*",
methods: "GET,PUT,POST,DELETE"
},
httpNodeMiddleware: function(req,res,next) {
session({
store: new MongoStore({
url: process.env.MONGOLAB_URI
})
})(req, res, function() {
cookieParser()(req, res, next);
});
},
adminAuth: {
type: "credentials",
users: [{
username: "admin",
password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.",
permissions: "*"
}]
}
node -e "console.log(require('bcryptjs').hashSync(process.argv[1], 8));" ここに実際のパスワード文字列を指定
['subflows', 'input', 'output', 'function', 'social', 'storage', 'analysis', 'advanced'],
functionGlobalContext: {
jsforce: require('jsforce')
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment