The project is a hugo template use docker images to server a hugo website.
If you want to try hugo, you can create a blog in 5 minutes with the template!
Please star , fork and enjoy it!
Use our deploy button to create your own copy of the repository
Clone your repository and enter directory first
git clone --recursive https://github.com/<input-your-user-name>/hugo-quickstart-demo.git && cd hugo-quickstart-demo
Then, you can use docker or hugo to bootstrap server.
-
For Docker User, just run
./docker-run.sh
command,preview at http:https://localhost:1313 -
For Hugo User, run the following command(
hugo server -b 0.0.0.0:1314 --verbose -D
- Click the deploy button to create your repository
- install docker ( recommend, optional)
- git clone your repository
- install
hugo
locally, create post byhugo new post content/posts/your-post-name.md
command - run script
docker-run.sh
( recommend, optional) or runhugo server
command - use your favorite editor to edit markdown file , while http:https://localhost:1313/ will reload silently by hugo
- git commit and push
- custom your website domain name in netlify