Skip to content

Commit

Permalink
Fixed node modules path
Browse files Browse the repository at this point in the history
  • Loading branch information
samalba committed Jul 20, 2012
1 parent 6af82fa commit 406d04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builder
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ ! -d ~/opa ] ; then
wget $BINURL -O install wget $BINURL -O install
sh install -- ~/opa sh install -- ~/opa
# Install node dependencies # Install node dependencies
npm install mongodb formidable nodemailer imap (cd ~ && npm install mongodb formidable nodemailer imap)
fi fi


# Runscript # Runscript
Expand Down
2 changes: 1 addition & 1 deletion run
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh #!/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}" MONGO_URL="${DOTCLOUD_DB_MONGODB_LOGIN}:${DOTCLOUD_DB_MONGODB_PASSWORD}@${DOTCLOUD_DB_MONGODB_HOST}:${DOTCLOUD_DB_MONGODB_PORT}"


exec ~/app.js \ exec ~/app.js \
Expand Down

0 comments on commit 406d04a

Please sign in to comment.