kevins8
12/07/2021, 4:07 PMreteP
12/07/2021, 5:35 PMreteP
12/07/2021, 5:35 PMSeriousBug
12/07/2021, 6:03 PMreteP
12/07/2021, 6:04 PMreteP
12/07/2021, 6:04 PMsuyashm
12/07/2021, 10:25 PMsuyashm
12/07/2021, 10:32 PMnpx 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?reteP
12/08/2021, 1:37 AMnpx 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 loadreteP
12/08/2021, 1:39 AMreteP
12/08/2021, 1:40 AMreteP
12/08/2021, 1:41 AMreteP
12/08/2021, 1:42 AMkevins8
12/08/2021, 1:53 AMdendron.yml
?kevins8
12/08/2021, 1:54 AMctrl+c
should do it. are you sure there's not another process running somewhere?reteP
12/08/2021, 1:56 AMreteP
12/08/2021, 1:58 AMTerminate 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 failskevins8
12/08/2021, 1:58 AMreteP
12/08/2021, 1:59 AMnpm next stop
but I'm not really sure how to access the nextjs stuffsuyashm
12/08/2021, 2:02 AMkevins8
12/08/2021, 2:18 AMreteP
12/08/2021, 2:57 AMmandarvaze
12/08/2021, 4:03 AMcreated
and updated
are indeed epoch time
?SeriousBug
12/08/2021, 4:03 AMmandarvaze
12/08/2021, 4:03 AMmandarvaze
12/08/2021, 8:43 AMdate +"%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.SeriousBug
12/08/2021, 8:45 AMdate +"%s"000
or something like that?mandarvaze
12/08/2021, 8:47 AMEddy
12/09/2021, 2:00 PMpixelmonk
12/09/2021, 2:04 PM