Notablog 0.4.2 update

Posted on Thu, Sep 10, 2020 announcement

Since Alex recently updated Notablog to 0.4.2 to reflect Notion's API changes, I'm making this post to remind myself in the future how to set up the Git workflow for a different computer.

Updating git-scm, nodejs/npm, Notablog and notablog-starter

npm cache clean -f
npm install -g npm

IF git isn't set up correctly

git init
git config --global user.name "USERNAME"
git config --global user.email "email@email.com"
ssh-keygen -o
cat ~/.ssh/id_rsa.pub

Setting up Git workflow to match master branch

git remote add origin git@github.com:aptrinh/aptrinh.github.io.git
git pull origin master
git status
git add .
git commit -m "MESSAGE"
git push