Giter Site home page Giter Site logo

heroku-nodejs-binary-buildback's Introduction

Heroku Buildpack for NodeJS (using official binaries)

  • This is a Heroku buildpack for Node.js apps.
  • It uses binaries from nodejs.org and you are up to date always

Default NodeJS version: 0.10.0

Usage

#For a new app

$ heroku create --buildpack https://github.com/arunoda/heroku-nodejs-binary-buildback.git
$ git push heroku master

#For an existing app

$ heroku config:add BUILDPACK_URL=https://github.com/arunoda/heroku-nodejs-binary-buildback.git
$ git push heroku master

Using Custom NodeJS version

Only for versions >= 0.8.x

$ heroku labs:enable user-env-compile -a <app_name> #one time action
$ heroku config:add NODE_VERSION=<node_version>

Using Alternate package.json

For a large scale app, we might have to deal with several heroku apps. Specially in case where we need to fire more than 1 web processes in a single app.

For those situations, we need to use separate package.json files. This is how we can do with this buildpack.

$ heroku labs:enable user-env-compile -a <app_name>
$ heroku config:add ALTERNATE_PACKAGE_JSON=your-alternate-package.json

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.