Skip to content

nanobox-quickstarts/nanobox-iris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iris from scratch

Iris from scratch

Run a Iris app locally, install nothing besides nanobox.

Clone the repo

# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-iris.git

# cd into the iris app
cd nanobox-iris

Run the app

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

# Install dependencies
nanobox run go get -v

# Run Iris as you would normally, with Nanobox
nanobox run go run main.go

Check it out

Visit your app at iris.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

# where golang is installed,
go version

# your packages are available,
git --version

# and your code is mounted
ls

Now What?

For more details about running Iris apps with nanobox visit guides.nanobox.io/golang/iris/