Docker based tool for maintaining hugo static sites.
1.7K
Vdock is a tool with an intergrated IDE for managing hugo site efficiently.
It provides features like
Blog-Source<Github-userid>.github.io to host your site.Suppose If your github-userid is rchari66 then the repository name would be
rchari66.github.io
$ docker run -td -p 8288:8288 -p 8286:8286 rchari/vdock
$ docker run -td -p 8288:8288 -p 8286:8286 -e AUTH=rchari:vdock rchari/vdock
open : http://localhost:8288/

$ docker run -td -p 8288:8288 -p 8286:8286 -e AUTH=<username>:<password> rchari/vdock
$ docker run -td -p 8288:8288 -p 8286:8286 -e ALLOW_PUBLIC_ACCESS=YES rchari/vdock
$ docker run -td -e AUTH=<username>:<password> ALLOW_PUBLIC_ACCESS=YES \
-p 8288:8288 -p 8286:8286 rchari/vdock
vdock in config page

fetchRepositories button

Select
hugo-sample-sourceand<Githuh-userid>.github.iorepos forBlog Source:andBlog Destination:
Provide Github email and Github password and then Click on button
Update Configure. This will createblog-sourceandmySitedirectries in the IDE.

blog-source/config.toml) for hugoMake sure
publishDiris set to../MySite.
publishDir = "../MySite"
Update
baseURLtohttps://<Github-userid>.github.io.
baseURL = "https://rchari66.github.io"
Simply goto
publishpage and click onPublish Changes(provide a commit message in textbox).
Wait for one or two minutes and then open https://<Github-userid>.github.io to view your site.
Refer : How to Create blog posts Using vdock
Content type
Image
Digest
sha256:e4bca112c…
Size
282.1 MB
Last updated
14 days ago
docker pull rchari/vdock