Browse Source

remove bash_profile.sh from express

Lita Gratrix 10 years ago
parent
commit
9571280144

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

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

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

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