Node.js is supported by Scalingo, furthermore, custom support has been added to manage the meteor framework.


Node.js Buildpack

Standard node applications

Node.js app detection

The file package.json should be present at the root of the project.

NPM dependencies installation

The dependencies of your project are installed according to the package.json content using npm.

By default, dependencies present in the devDependencies field are not installed since they should not be needed for production. If you want to install them, you’ll need to set the NPM_CONFIG_PRODUCTION environment variable to false via our web interface or by using our CLI:

$ scalingo -a <myapp> env-set NPM_CONFIG_PRODUCTION=false

Specifying a NodeJS version

In your engines section of your package.json file, you can specify a version of Node.js to use. If no version is defined, we’ll install the latest stable version. It’s exactly the same with npm if you want to use a specific version of it.

  "name": "myapp",
  "engines": {
    "node": "4.2.x",
    "npm": "2.14.x"

Node.JS app startup

What we use in order of priority

  1. Procfile at the root of your project
  2. The field .scripts.start defined in your package.json

Example of package.json:

  "scripts": {
    "start": "node server.js"

Meteor application

If a .meteor file is detected at the root of your project, your app will be considered as a Meteor application.

See the Meteor applications documentation

schedule 20 Sep 2015