nanobox-quickstarts / nanobox-hugo

Quickstart for running Hugo applications on Nanobox.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hugo with Nanobox

Hugo from scratch

Run a Hugo app locally, install nothing besides nanobox.

Clone the repo

# clone the code
git clone https://github.com/fkumro/nanobox-hugo.git

# cd into the hugo app
cd nanobox-hugo

Run the app

# Add a convenient way to access your app from the browser
nanobox dns add local hugo.dev

# Run Hugo, specifying the address to bind to and the dns entry for the base URL
nanobox run hugo server --bind=0.0.0.0 --baseURL=http://hugo.dev/

Check it out

Visit your app at hugo.dev

Explore

With Nanobox, you don't have to have anything installed on your machine to run your app:

# drop into a Nanobox console
nanobox run

# display the version of Hugo installed
hugo version

# and your code is mounted
ls

About

Quickstart for running Hugo applications on Nanobox.io