Created
February 21, 2012 04:27
-
-
Save GarthDB/1873669 to your computer and use it in GitHub Desktop.
Use latest stable version of NodeJS on Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/[your github username]/heroku-buildpack-nodejs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku create --stack cedar --buildpack http://github.com/[your github username]/heroku-buildpack-nodejs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd heroku-buildpack-nodejs | |
$ mate bin/compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git commit -am 'updated bin/compile with latest stable versions of NPM and Node' | |
$ git push origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config | |
NODE_VERSION="0.6.10" | |
NPM_VERSION="1.1.1" | |
SCONS_VERSION="1.2.0" | |
S3_BUCKET="heroku-buildpack-nodejs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config | |
NODE_VERSION="0.4.7" | |
NPM_VERSION="1.0.94" | |
SCONS_VERSION="1.2.0" | |
S3_BUCKET="heroku-buildpack-nodejs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment