Permalink
Browse files

update CHANGELOG (for dev branch), remove src from .npmignore

  • Loading branch information...
1 parent a57f488 commit cd9822d5fc7df6416ccf7b4bfc7b4c48178ffbfc @lancejpollard lancejpollard committed Jun 27, 2012
Showing with 43 additions and 2 deletions.
  1. +1 −2 .npmignore
  2. +42 −0 CHANGELOG.md
View
3 .npmignore
@@ -3,9 +3,8 @@
Cakefile
wiki/
docs/
-src/
dist/
examples/
favicon.ico
Watchfile
-doc/
+doc/
View
42 CHANGELOG.md
@@ -39,4 +39,46 @@ Otherwise:
npm uninstall design.io forever hook.io
npm install git://github.com/nodejitsu/forever#node-0.8
npm install design.io
+```
+
+### Deploying to Heroku
+
+Specify node and npm version: https://devcenter.heroku.com/articles/nodejs-versions/.
+
+Also, if you need to execute an NPM in a `postinstall` hook in package.json, you'll get `sh: npm not found` on Heroku. So, add `"npm": ">= 1.1.1"` to your package.json.
+
+Another random note. Tower has coffee-script and coffeecup modules installed in a `postinstall` script defined in package.json. If you add coffee-script to your app's package.json (pointing to the same custom coffee-script fork), it will install it twice and there's a weired error having something to do with `chmod` and permissions on `..../bin/coffee`, _on heroku only_, probably because it's trying to remove the `coffee` command from within coffeecup - since it's installing `coffee-script` again. Just add the regular `coffee-script` dependency in your package.json if you get this error.
+
+So do this:
+
+``` json
+{
+ "name": "your-app",
+ "engines": {
+ "node": "0.8.0",
+ "npm": ">= 1.1.1"
+ },
+ "dependencies": {
+ "coffee-script": ">= 1.3.2",
+ "tower": "git://github.com/viatropos/tower.git#development",
+ "npm": ">= 1.1.1"
+ }
+}
+```
+
+not this:
+
+``` json
+{
+ "name": "your-app",
+ "engines": {
+ "node": "0.8.0",
+ "npm": ">= 1.1.1"
+ },
+ "dependencies": {
+ "coffee-script": "git://github.com/viatropos/coffee-script.git",
+ "tower": "git://github.com/viatropos/tower.git#development",
+ "npm": ">= 1.1.1"
+ }
+}
```

0 comments on commit cd9822d

Please sign in to comment.