Here is a non-comprehensive list of Node/Sails hosting providers and a few available community tutorials. Keep in mind that, most of the time, the process for deploying your Sails app is exactly the same as it would be for any other Node.js app. Just be sure to take a look at the other pages in this section of the docs (as well as your app's config/env/production.js
file) and make any necessary adjustments before you actually deploy to production.
Heroku offers easy, free deployment for any Sails project generated using the Web App template:
master
branch.my-cool-site-staging
).deploy
branch of your GitHub repo.config/production.js
and config/staging.js
in your project and set it up. Any information you feel is too sensitive to hard-code into those files (like database credentials) can be stored in Heroku's config vars (see bundled config files for examples).sails run deploy
.You can see a demonstration of this in action here.
Using Google Cloud Platform means that your apps run on the same infrastructure that powers all of Google's products, so you can be confident that they'll scale seamlessly—no matter how many users you have.
runtime:yours
at Google Cloud Platform Live (2014)Note: PM2 isn't really a hosting platform, but it's worth mentioning in this section just so you're aware of it.