kevins8
04/17/2021, 11:12 PMLance
04/18/2021, 1:11 AMp0lyg0n
04/18/2021, 1:05 PMchangelog schema that is identical in hierarchy to journal.
Is there a way I can add a keybinding / execute a command similar to dendron.createDailyJournalNote (Ctrl+Shift+I) which would create a note with today's date under the changelog domain?Kiran
04/18/2021, 1:07 PMmtuwei
04/18/2021, 2:56 PMp0lyg0n
04/18/2021, 3:33 PMkevins8
04/18/2021, 3:34 PMp0lyg0n
04/18/2021, 3:35 PMjournal., is there anyway to get rid of that ? I guess this is better than having to call an external script that calls the CLIkevins8
04/18/2021, 3:35 PM--enginePort `cat .dendron.port`kevins8
04/18/2021, 3:37 PMp0lyg0n
04/18/2021, 3:39 PMp0lyg0n
04/18/2021, 3:39 PMjson
"options": {
"url": "http://localhost:cat .dendron.port/api/note/info",
"qs": {},
"body": {},
"json": true,
"method": "GET",
"simple": true,
"resolveWithFullResponse": false,
"transform2xxOnly": false
},p0lyg0n
04/18/2021, 3:40 PMkevins8
04/18/2021, 3:41 PMdendron buildSite --wsRoot . --stage dev --serve --enginePort `cat .dendron.port`p0lyg0n
04/18/2021, 3:41 PMkevins8
04/18/2021, 3:41 PMp0lyg0n
04/18/2021, 3:42 PMbash
#!/bin/bash
YEAR=`date +'%Y'`
MONTH=`date +'%m'`
DAY=`date +'%d'`
dendron note lookup --wsRoot ~/notes/ --enginePort `cat .dendron.port` --quiet --query "changelog.$YEAR.$MONTH.$DAY"kevins8
04/18/2021, 3:43 PMkevins8
04/18/2021, 3:43 PMp0lyg0n
04/18/2021, 3:43 PMkevins8
04/18/2021, 3:43 PMp0lyg0n
04/18/2021, 3:47 PMUnhandledPromiseRejectionWarning: TypeError: Cannot read property 'statusCode' of undefinedkevins8
04/18/2021, 3:47 PMp0lyg0n
04/18/2021, 3:47 PMjson
{
"level": 50,
"time": 1618760784730,
"pid": 2604706,
"hostname": "manjaro",
"name": "connector",
"name": "RequestError",
"message": "Error: connect ECONNREFUSED 127.0.0.1:38595",
"cause": {
"errno": "ECONNREFUSED",
"code": "ECONNREFUSED",
"syscall": "connect",
"address": "127.0.0.1",
"port": 38595
},
"error": {
"errno": "ECONNREFUSED",
"code": "ECONNREFUSED",
"syscall": "connect",
"address": "127.0.0.1",
"port": 38595
},
"options": {
"url": "http://localhost:38595/api/note/info",
"qs": {},
"body": {},
"json": true,
"method": "GET",
"simple": true,
"resolveWithFullResponse": false,
"transform2xxOnly": false
}
}kevins8
04/18/2021, 3:48 PMlaunchEngineServer https://wiki.dendron.so/notes/23a1b942-99af-45c8-8116-4f4bb7dccd21.html#launchengineserverp0lyg0n
04/18/2021, 3:48 PMp0lyg0n
04/18/2021, 3:48 PMkevins8
04/18/2021, 3:48 PMkevins8
04/18/2021, 3:49 PMOpen Logs and grepping for portp0lyg0n
04/18/2021, 3:49 PM