Started learning Hugo on June 16 2021 6 PM - 9 PM at Robotic Systems, Australia from the Newcastle Coders Group, tutorial hosted by Sora and Sharlene. After that night, I have continued building it up and learning how to use it such as integrating a headless CMS Ghost and tuning different themes.
- hugo serve
- "echo" and ">>.env" is not needed in .env to call on Ghost CMS URL and Key.
git commit->git pull->git pushin solving the deployment failure with Netlifygit submodule update --force --recursive --init --remoteto refresh submodule- Problem: Netlify could not deploy site, Solved - modified Netlify.toml to have a simple command
hugoinstead ofhugo && npm run build:functions. - Goal: to have Netlify automatically updated when Ghost CMS has a new post - figured that netlify.toml must have a command at their [Build] called
run npm start && hugowithstartbeing the build script in package.json.