From: AJ ONeal Date: Sat, 13 Jun 2020 19:43:39 +0000 (-0600) Subject: bugfixes X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=8000aa7ba5415a3e79a9f73e69996b4535adfaf8;p=webi-installers%2F.git bugfixes --- diff --git a/node/install.bash b/node/install.bash index 6fd6852..ab56e30 100644 --- a/node/install.bash +++ b/node/install.bash @@ -14,6 +14,8 @@ # > Hello, World! # ``` # +#
+# # ### A Simple Web Server # # `server.js`: @@ -28,6 +30,8 @@ # }); # ``` # +#
+# # ```bash # node server.js # ``` @@ -41,6 +45,8 @@ # npm install --save express # ``` # +#
+# # `app.js`: # # ```js @@ -56,6 +62,8 @@ # module.exports = app; # ``` # +#
+# # `server.js`: # # ```js @@ -69,6 +77,8 @@ # }); # ``` # +#
+# # ```bash # npm start # ``` @@ -93,7 +103,7 @@ update_node_home() { webi_path_add "$common_node_home/bin" } -if [ -x "$new_go_home/bin/go" ]; then +if [ -x "$new_node_home/bin/node" ]; then update_node_home exit 0 fi