Commit 5bec830d authored by David Dollar's avatar David Dollar

tweak readme

parent 936a0896
...@@ -49,20 +49,20 @@ To use this buildpack, fork it on Github. Push up changes to your fork, then cr ...@@ -49,20 +49,20 @@ To use this buildpack, fork it on Github. Push up changes to your fork, then cr
To change the vendored binaries for Node.js, NPM, and SCons, use the helper scripts in the `support/` subdirectory. You'll need an S3-enabled AWS account and a bucket to store your binaries in. To change the vendored binaries for Node.js, NPM, and SCons, use the helper scripts in the `support/` subdirectory. You'll need an S3-enabled AWS account and a bucket to store your binaries in.
For example, you can change the default version of Node.js to v0.5.8. For example, you can change the default version of Node.js to v0.6.7.
First you'll need to build a Heroku-compatible version of Node.js: First you'll need to build a Heroku-compatible version of Node.js:
$ export AWS_ID=xxx AWS_SECRET=yyy S3_BUCKET=zzz $ export AWS_ID=xxx AWS_SECRET=yyy S3_BUCKET=zzz
$ s3 create $S3_BUCKET $ s3 create $S3_BUCKET
$ support/package_nodejs 0.5.8 $ support/package_nodejs 0.6.7
Open `bin/compile` in your editor, and change the following lines: Open `bin/compile` in your editor, and change the following lines:
DEFAULT_NODE_VERSION="0.5.8" DEFAULT_NODE_VERSION="0.6.7"
S3_BUCKET=zzz S3_BUCKET=zzz
:w :w
Commit and push the changes to your buildpack to your Github fork, then push your sample app to Heroku to test. You should see: Commit and push the changes to your buildpack to your Github fork, then push your sample app to Heroku to test. You should see:
-----> Vendoring node 0.5.8 -----> Vendoring node 0.6.7
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment