full article read: https://medium.com/@mrkevin.wang/create-a-web-personal-profile-page-with-hugo-blog-netlify-for-free-9d2b19a83da1
This is a example of using Hugo blog to create a resume site on netlify
brew install hugo
choco install hugo -confirm
https://gohugo.io/getting-started/installing/
hugo version
hugo new site hugo-netlify-resume
git clone [email protected]:aerohub/hugo-orbit-theme.git
rsync -r --exclude '.git' hugo-orbit-theme hugo-netlify-resume/themes/
copy the themes/orbit/exampleSite/config.toml to the root folder or replace content with it.
this is where you can publish blog posts by using markdown formats.
cd hugo-netlify-resume
git init
git add .
git commit -m "create blog and add theme"
git remote add origin [email protected]:superwalnut/hugo-netlify-resume.git git push -u origin master
hugo server -w
| EN
-------------------+----- Pages | 4 Paginator pages | 0 Non-page files | 0 Static files | 98 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0
you can get one free site published in netlify with free plan.
Sites -> New site from git -> Select GitHub (for this case) -> Authorize netlify api for access your repository -> select the repository and branch to deploy to netlify
you can add a custom domain and apply ssl certificate at netlify as well. It is fairly straight forward.
set baseurl = "https://modest-newton-b02ee3.netlify.app/" in config.toml
npm install netlify-cli -g
login to netlify, this will redirect you to login and Once authorized, Netlify CLI will store your access token in your home folder, under .netlify/config.json. Netlify CLI will use the token in this location automatically for all future commands.
netlify login
netlify status
netlify init