Cloud9 pairs really nicely with Hugo, enabling you to update and develop your site on the go. Getting started is painless:
-
Create a new Cloud9 workspace attached to your site’s BitBucket or GitHub repo.
-
Once setup, you have a virtual Ubuntu server at your disposal. Install Hugo with
dpkg
:$ wget https://github.com/spf13/hugo/releases/download/v0.15/hugo_0.15_amd64.deb # or a newer release $ sudo dpkg -i hugo_0.15_amd64.deb
-
And even serve your site:
hugo serve --bind=$IP --port=$PORT