summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_site_build/_posts/2012-05-06-installing-node-js-on-ubuntu.markdown12
1 files changed, 12 insertions, 0 deletions
diff --git a/_site_build/_posts/2012-05-06-installing-node-js-on-ubuntu.markdown b/_site_build/_posts/2012-05-06-installing-node-js-on-ubuntu.markdown
index 0e844dc..1ac5b3c 100644
--- a/_site_build/_posts/2012-05-06-installing-node-js-on-ubuntu.markdown
+++ b/_site_build/_posts/2012-05-06-installing-node-js-on-ubuntu.markdown
@@ -173,3 +173,15 @@ node ~/server.js
{% endhighlight %}
If everything has gone according to plan you should see 'Hello World' when you open a web browser at `http://localhost:1337/`.
+
+For those of you who are working from the console and may not be able to see the results in a desktop browser, KENTOSI added a very good tip via the <a href="/archives/2012/05/06/installing-node-js-on-ubuntu/#comment-645459856" rel="bookmark">comments</a>. Simply install a text-based web browser such as lynx.
+
+{% highlight bash %}
+sudo apt-get install lynx
+{% endhighlight %}
+
+You can then use this browser to connect to the running web server and the results will be displayed onto the console.
+
+{% highlight bash %}
+lynx -dump http://127.0.0.1:1337/
+{% endhighlight %}