Skip to content

Quickstart for running Hugo applications on Nanobox.io

Notifications You must be signed in to change notification settings

nanobox-quickstarts/nanobox-hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published