Create the necessary Gitpod files on the root of your repository.
$ touch .gitpod.Dockerfile$ touch .gitpod.yml
.gitpod.Dockerfile
1FROM gitpod/workspace-full23USER root45RUN apt-get update && apt-get install -yq hugo
.gitpod.yml
1image:2 file: .gitpod.Dockerfile34tasks:5 - command: 'hugo server --baseUrl $(gp url 1313) --appendPort=false'67ports:8 - port: 13139 onOpen: open-preview
After commiting and merging your code, you can then go to https://gitpod.io/#https://github.com/<YOUR_USERNAME>/<YOUR_REPO_NAME>
to start your Gitpod workspace.
Optionally, you can also add a Gitpod badge on your README
file:
README.md
1[](https://gitpod.io/#https://github.com/<YOUR_USERNAME>/<YOUR_REPO_NAME>)
####Sources
Setup configuration was copied from esttech/theia-dev-conf.