Developing a Hugo site on Cloud9

Cloud9 pairs really nicely with Hugo, enabling you to update and develop your site on the go. Getting started is painless:

  1. Create a new Cloud9 workspace attached to your site’s BitBucket or GitHub repo.

  2. 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
    
  3. And even serve your site:

    hugo serve --bind=$IP --port=$PORT
    
2 Likes