Browse Source

remove bash_profile.sh from node.js

Lita Gratrix 10 years ago
parent
commit
76d54a792d

+ 0 - 3
frameworks/JavaScript/nodejs/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64

+ 1 - 0
frameworks/JavaScript/nodejs/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' hello.js
 sed -i 's|localhost|'"${DBHOST}"'|g' hello.js
 sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js
 sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js