8000 GitHub - molinto/nanobox-hapi: Quickstart for Hapi with Nanobox
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

molinto/nanobox-hapi

 
 

Repository files navigation

hapi from scratch

hapi from scratch

Run an hapi app locally, install nothing besides nanobox.

Clone the repo

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

# cd into the hapi app
cd nanobox-hapi

Run the app

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

# Run hapi as you would normally, with Nanobox
nanobox run npm start

Check it out

Visit your app at hapi.dev:3000

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 node is installed,
node -v

# your packages are available,
npm list

# and your code is mounted
ls

Now What?

For more details about running hapi apps with nanobox visit guides.nanobox.io/nodejs/hapi/

About

Quickstart for Hapi with Nanobox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.4%
  • Nginx 23.2%
  • HTML 6.7%
  • CSS 2.7%
0