Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shalk/hugo-quickstart-demo
this is a template for hugo
https://github.com/shalk/hugo-quickstart-demo
docker hugo hugo-boilerplate
Last synced: 13 days ago
JSON representation
this is a template for hugo
- Host: GitHub
- URL: https://github.com/shalk/hugo-quickstart-demo
- Owner: shalk
- Created: 2018-12-20T07:05:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-22T14:42:41.000Z (about 6 years ago)
- Last Synced: 2024-12-05T01:27:28.531Z (2 months ago)
- Topics: docker, hugo, hugo-boilerplate
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
hugo-quickstart-demo
====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!
[中文说明](https://github.com/shalk/hugo-quickstart-demo/blob/master/README_zh.md)
## Getting started
Use our deploy button to create your own copy of the repository
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/shalk/hugo-quickstart-demo)
## Local Development
Clone your repository and enter directory first
```
git clone --recursive https://github.com//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://localhost:1313
- For Hugo User, run the following command(
```
hugo server -b 0.0.0.0:1314 --verbose -D
```## My Best Practice
1. Click the deploy button to create your repository
2. install docker ( recommend, optional)
3. git clone your repository
4. install `hugo` locally, create post by `hugo new post content/posts/your-post-name.md` command
5. run script `docker-run.sh` ( recommend, optional) or run `hugo server` command
6. use your favorite editor to edit markdown file , while http://localhost:1313/ will reload silently by hugo
7. git commit and push
8. custom your website domain name in netlify## Read More
[How to install hugo](https://gohugo.io/getting-started/installing/)
[Hugo](https://gohugo.io/)
[Netify](https://www.netlify.com/)