This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
#!/bin/zsh | |
vared -p "Enter commit message: " -c message | |
printf "\e[33m\nBuilding project...\e[39m\n" | |
hugo -d ../YOUR_GITHUB_USERNAME.github.io | |
printf "\\e[33m\nPushing to YOUR_GITHUB_USERNAME.github.io repository...\e[39m\n\n" | |
cd ../YOUR_GITHUB_USERNAME.github.io | |
git add . |