summaryrefslogtreecommitdiff
path: root/_site_build
diff options
context:
space:
mode:
authordavidtsadler <davidtsadler@googlemail.com>2012-09-12 20:26:12 +0100
committerdavidtsadler <davidtsadler@googlemail.com>2012-09-12 20:26:12 +0100
commitd4a518c703a9231cd6f5139b99e1035182467e4b (patch)
tree6c678c3b8aac0b372bce08bb458fc4f300a04cd8 /_site_build
parent49c0826e2eb32fa6caa965777e3e366a23b89001 (diff)
Add tip mentioned via the comments.
Diffstat (limited to '_site_build')
-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 %}