-
Check this commit if there is something wrong.
-
Modify
.zshrc
alias ud_dat="cd ~/git/dinhanhthi.com && npm run site:update && cd -"
Make sure
site:update
inpackage.json
usesscripts/ud_site.sh
! -
Add submodule (make sure "notes" is removed from
.gitignore
)git submodule add https://github.com/dinhanhthi/notes.git
-
Clone notes to
dinhanhthi.com/nodesData
(make sure "notesData" is added to.gitignore
),git clone https://github.com/dinhanhthi/notes.git notesData
-
Make sure in
.eleventy
has casecase "netlify":
for the building process! -
Change "full-no-opt" and "theming" from "notes" to "notesData".
-
Start using branch "prod".
-
On Netlify, use
npm run build-netlify
for the build command and from "prod" branch!