https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • k

    kevins8

    12/07/2021, 4:07 PM
    basic workflow
  • r

    reteP

    12/07/2021, 5:35 PM
    anyone know what this is about?
  • r

    reteP

    12/07/2021, 5:35 PM
    is this just for my system specifically? or is dendron as a whole having trouble with this
  • s

    SeriousBug

    12/07/2021, 6:03 PM
    This is just for the note you have open. We have some updates coming out in today's release that improve the performance and should solve this warning.
  • r

    reteP

    12/07/2021, 6:04 PM
    Okay, thanks
  • r

    reteP

    12/07/2021, 6:04 PM
    πŸ‘
  • s

    suyashm

    12/07/2021, 10:25 PM
    Thanks for pointing out the new way of doing things. I had been away from using Dendron since several months.
  • s

    suyashm

    12/07/2021, 10:32 PM
    The way I published previously when
    npx dendron buildSite --wsRoot . --stage prod --enginePort 'cat .dendron.port'
    used to be a thing - was to copy over the contents from the
    docs
    folder over to a AWS S3 bucket and that worked just fine. It used to pickup the siteUrl from the dendron.yml. So now I migrated my stuff to use the nextjs template as you mentioned above. The preview at localhost:3000 works just fine. BUT -> after I do
    npx dendron publish export
    it generates the static contents at the
    {workspace}/.next/out
    which I am now copying over to a Google Cloud Storage bucket. However the entire website is broken. Not sure how I can fix things. Is there any additional configuration required or am i missing something else here?
  • r

    reteP

    12/08/2021, 1:37 AM
    after running
    npx dendron publish dev
    , how do I stop the web server? I tried ctrl+C but then the next time I tried running it again it tried to use a different port number (3001) and wouldn't load
  • r

    reteP

    12/08/2021, 1:39 AM
    as if the other port (3000) was still in use for some reason
  • r

    reteP

    12/08/2021, 1:40 AM
    sequential attempts get published to localhost:3002, localhost:3003, etc... and none of them compile or work at all
  • r

    reteP

    12/08/2021, 1:41 AM
    is there a better way to "properly" stop the web server?
  • r

    reteP

    12/08/2021, 1:42 AM
    it only works once I go into task manager, find the nodejs process taking up 20%+ cpu or 1gb memory, and end it
  • k

    kevins8

    12/08/2021, 1:53 AM
    hmm, that shouldn't be the case. can you send the me contents of your
    dendron.yml
    ?
  • k

    kevins8

    12/08/2021, 1:54 AM
    ctrl+c
    should do it. are you sure there's not another process running somewhere?
  • r

    reteP

    12/08/2021, 1:56 AM
    nope, for some reason it's acting weird. I'm using powershell btw
  • r

    reteP

    12/08/2021, 1:58 AM
    pressing ctrl+c asks:
    Terminate batch job (Y/N)?
    regardless of whether I answer Y or N or just ctrl+c again, the next run always tries to use port 3001 and fails
  • k

    kevins8

    12/08/2021, 1:58 AM
    hmm, will investigate
  • r

    reteP

    12/08/2021, 1:59 AM
    I tried stuff like
    npm next stop
    but I'm not really sure how to access the nextjs stuff
  • s

    suyashm

    12/08/2021, 2:02 AM
    here it is
    k
    • 2
    • 11
  • k

    kevins8

    12/08/2021, 2:18 AM
    publish-issues
  • r

    reteP

    12/08/2021, 2:57 AM
    is there any easy way to change the theme of the site when publishing notes?
    • 1
    • 4
  • m

    mandarvaze

    12/08/2021, 4:03 AM
    Thanks for the tip. No, it won't be cumbersome over starting VScode and waiting it to load, make dummy edit/save/exit πŸ˜† Can someone from @User confirm that
    created
    and
    updated
    are indeed
    epoch time
    ?
  • s

    SeriousBug

    12/08/2021, 4:03 AM
    Yup, it is
  • m

    mandarvaze

    12/08/2021, 4:03 AM
    Awesome!
  • m

    mandarvaze

    12/08/2021, 8:43 AM
    @User @User
    date +"%s"
    does not seem to work. I got
    1638952294
    from it, which is't recognized when I opened the file in VSCodium (It was shown as
    Jan 1st, 1970
    ) Also this number seems to be shorted than one created by Dendron which is like
    1631947817179
    One returned by
    date
    command is short by 3 digits.
  • s

    SeriousBug

    12/08/2021, 8:45 AM
    Oh, I think the Dendron one might be in milliseconds. What if you did
    date +"%s"000
    or something like that?
  • m

    mandarvaze

    12/08/2021, 8:47 AM
    Awesome. It worked. (i.e. VSCodium recognized it correctly)
  • e

    Eddy

    12/09/2021, 2:00 PM
    hi people, i'm trying to use note references to embed notes into other notes, but all i get is just a link in the preview - did something change with the syntax that hasn't been updated on the online wiki?
  • p

    pixelmonk

    12/09/2021, 2:04 PM
    @User are you using dendron's built in preview command or a separate preview extension? (e.g. markdown preview enhanced)
1...467468469...757Latest