Permalink
Browse files

Fixed node modules path

  • Loading branch information...
samalba committed Jul 20, 2012
1 parent 6af82fa commit 406d04a850fc48fc964fe0cfaee56bf08dbb3d32
Showing with 2 additions and 2 deletions.
  1. +1 −1 builder
  2. +1 −1 run
View
@@ -8,7 +8,7 @@ if [ ! -d ~/opa ] ; then
wget $BINURL -O install
sh install -- ~/opa
# Install node dependencies
- npm install mongodb formidable nodemailer imap
+ (cd ~ && npm install mongodb formidable nodemailer imap)
fi
# Runscript
View
2 run
@@ -1,6 +1,6 @@
#!/bin/sh
-export NODE_PATH="${HOME}/opa/lib/opa/node_modules"
+export NODE_PATH="${HOME}/node_modules"
MONGO_URL="${DOTCLOUD_DB_MONGODB_LOGIN}:${DOTCLOUD_DB_MONGODB_PASSWORD}@${DOTCLOUD_DB_MONGODB_HOST}:${DOTCLOUD_DB_MONGODB_PORT}"
exec ~/app.js \

0 comments on commit 406d04a

Please sign in to comment.