Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed node modules path

  • Loading branch information...
commit 406d04a850fc48fc964fe0cfaee56bf08dbb3d32 1 parent 6af82fa
@samalba samalba authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  builder
  2. +1 −1  run
View
2  builder
@@ -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 \
Please sign in to comment.
Something went wrong with that request. Please try again.