https://github.com/docksal/boilerplate-hugo
Hugo boilerplate powered by Docksal
https://github.com/docksal/boilerplate-hugo
docker docksal example hugo
Last synced: 5 months ago
JSON representation
Hugo boilerplate powered by Docksal
- Host: GitHub
- URL: https://github.com/docksal/boilerplate-hugo
- Owner: docksal
- Created: 2018-01-24T03:52:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-23T04:22:20.000Z (about 4 years ago)
- Last Synced: 2025-10-02T18:35:56.586Z (9 months ago)
- Topics: docker, docksal, example, hugo
- Language: Shell
- Homepage: https://docksal.io
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Hugo project
## Initializing
```
fin init
```
Will initialize new site, append a test content and compile the site.
Your new site will be instantly available at `http://static.$VIRTUAL_HOST`
## Development
To develop a Hugo project you need Hugo running in a server mode ([Hugo Quickstart guide](https://gohugo.io/getting-started/quick-start/) for more details).
```
fin develop
```
Starts a Hugo server. The server will be available at `http://$VIRTUAL_HOST`.
Updates as you edit, reload the page to see your changes.
**NOTE:** once started, the Hugo server will run, blocking the console. Kill it with `Ctrl-C`, when you are done.
## Compiling static site
```
fin compile
```
Will re-compile static site into `public` folder. It is available at `http://static.$VIRTUAL_HOST`