/nanobox-sails

Quickstart for Sails with Nanobox

Primary LanguageJavaScriptMozilla Public License 2.0MPL-2.0

Sails from scratch

Sails from scratch

Run a Sails app locally, install nothing besides nanobox.

Clone the repo

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

# cd into the sails app
cd nanobox-sails

Run the app

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

# Run sails as you would normally, with Nanobox
nanobox run sails lift

Check it out

Visit your app at sails.dev:1337

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,
yarn list

# and your code is mounted
ls

Now What?

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