Run a Gin app locally, install nothing besides nanobox.
# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-gin.git
# cd into the gin app
cd nanobox-gin
# Add a convenient way to access your app from the browser
nanobox dns add local gin.dev
# Run Gin as you would normally, with Nanobox
nanobox run go run main.go
Visit your app at gin.dev:8080/ping
With Nanobox, you don't have to have anything installed on your machine to run your app:
# drop into a Nanobox console
nanobox run
# where golang is installed,
go version
# git is installed,
git --version
# and your code is mounted
ls
For more details about running Gin apps with nanobox visit guides.nanobox.io/golang/gin/